diff --git a/frontend/views/permissions/index.php b/frontend/views/permissions/index.php index 9c40e39..251fe32 100644 --- a/frontend/views/permissions/index.php +++ b/frontend/views/permissions/index.php @@ -103,13 +103,10 @@ use \common\libs\MyLib; var a=$(".gray-bg").height(); //获取标题高度 var c=$('.ibox-title').height(); - //获取table高度 - var e=$("row").height(); + var d=a-c-100; - if(e>d){ + $('.fixed-table-body').css({'height':d}); - console.log("滚动条"); - } } $(function() {