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();