获取table高度

webUi
赵桐华 5 years ago
parent f4deff47bb
commit d32a63f778
  1. 3
      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();

Loading…
Cancel
Save