From 0133b733da8f730d394f16696d8f38b4668fc531 Mon Sep 17 00:00:00 2001 From: ZHAOTONGHUA <2066753415@qq.com> Date: Tue, 26 Nov 2019 14:32:09 +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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/views/database/b-index.php b/frontend/views/database/b-index.php index c9462a8..25d9fd9 100644 --- a/frontend/views/database/b-index.php +++ b/frontend/views/database/b-index.php @@ -158,9 +158,7 @@ use \common\libs\MyLib; function fix(){ //table设置一定的高度 var tab=$("#listTable").attr('data-height'); - console.log($('.fixed-table-body').height()); - var a=$('.fixed-table-body').offsetHeight; - console.log(a); + console.log($('#listTable').height()); //$('.fixed-table-body').css({'height':tab-40}); //当浏览器窗口变化时,表头与表格不对齐解决