修复横向滚动条不显示问题

This commit is contained in:
leijun
2018-09-25 16:41:45 +08:00
parent 97de2d21db
commit 80795c9b8a
2 changed files with 17 additions and 3 deletions

View File

@@ -306,7 +306,14 @@ function customColumnClick(){
$('#total').html(trtotal);
}
}
window.onload=function (){
setTimeout(function (){
var height=document.documentElement.clientHeight;
if($('.table-responsive')){
$('.table-responsive').css({'height':height-166+'px'});
}
},510);
}
window.onresize=function (){
var height=document.documentElement.clientHeight;
if($('.table-responsive')){