diff --git a/frontend/views/menu/index.php b/frontend/views/menu/index.php index dbb818a..4f409ff 100644 --- a/frontend/views/menu/index.php +++ b/frontend/views/menu/index.php @@ -110,14 +110,14 @@ use \common\libs\MyLib; var c=$('.ibox-title').height(); //获取table高度 var e=$(".row").height(); - var d=a-c-100; - console.log("e:"+e); - console.log("d"+d); - console.log("d"+d-b); + var d=a-c-100; if(e>d){ $('.fixed-table-body').css({'height':d}); - console.log("滚动条"); - } + + }else{ + $('.fixed-table-body').css({'height':e}); + + } } $(function() {