From 74a835b20b87054f3365cca45c72d4ef98fcb22f Mon Sep 17 00:00:00 2001
From: ZHAOTONGHUA <2066753415@qq.com>
Date: Tue, 26 Nov 2019 14:22: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 | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/frontend/views/database/b-index.php b/frontend/views/database/b-index.php
index c0e84ba..ba0cb99 100644
--- a/frontend/views/database/b-index.php
+++ b/frontend/views/database/b-index.php
@@ -122,8 +122,7 @@ use \common\libs\MyLib;
-beginBlock('footer_js'); ?>
-
+beginBlock('footer_js'); ?
@@ -159,7 +158,10 @@ use \common\libs\MyLib;
//table设置一定的高度
var tab=$("#listTable").attr('data-height');
console.log($('.fixed-table-body').height());
- console.log($('.fixed-table-body').offsetHeight);
+ 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();