From d32a63f7783daa50834c920345378038ebccd65c Mon Sep 17 00:00:00 2001 From: ZHAOTONGHUA <2066753415@qq.com> Date: Tue, 26 Nov 2019 14:26:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96table=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/views/database/b-index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/views/database/b-index.php b/frontend/views/database/b-index.php index 95d95c4..c9462a8 100644 --- a/frontend/views/database/b-index.php +++ b/frontend/views/database/b-index.php @@ -160,9 +160,8 @@ use \common\libs\MyLib; var tab=$("#listTable").attr('data-height'); console.log($('.fixed-table-body').height()); var a=$('.fixed-table-body').offsetHeight; - var b=$('.fixed-table-body').offsetHeight(); console.log(a); - console.log(b); + //$('.fixed-table-body').css({'height':tab-40}); //当浏览器窗口变化时,表头与表格不对齐解决 $('.table').bootstrapTable();