diff --git a/frontend/views/menu/index.php b/frontend/views/menu/index.php index 56d1d58..344081e 100644 --- a/frontend/views/menu/index.php +++ b/frontend/views/menu/index.php @@ -106,11 +106,9 @@ use \common\libs\MyLib; var a=$(".gray-bg").height(); //获取标题高度 var c=$('.ibox-title').height(); - //获取条件选择高度 - var b=$('#searchFrm').height(); //获取table高度 var e=$("row").height(); - var d=a-c-b-100; + var d=a-c-100; if(e>d){ $('.fixed-table-body').css({'height':d}); console.log("滚动条"); diff --git a/frontend/views/permissions/index.php b/frontend/views/permissions/index.php index bc3e2de..7223c9d 100644 --- a/frontend/views/permissions/index.php +++ b/frontend/views/permissions/index.php @@ -103,11 +103,9 @@ use \common\libs\MyLib; var a=$(".gray-bg").height(); //获取标题高度 var c=$('.ibox-title').height(); - //获取条件选择高度 - var b=$('#searchFrm').height(); //获取table高度 var e=$("row").height(); - var d=a-c-b-100; + var d=a-c-100; if(e>d){ $('.fixed-table-body').css({'height':d}); console.log("滚动条");