From 2d7632e8b15f5d4ec2f704e3257ac432989dbdde Mon Sep 17 00:00:00 2001 From: leijun Date: Tue, 25 Sep 2018 16:53:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/static/global/scripts/common.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index 2ead8a6e1..adf04a4a1 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -572,6 +572,10 @@ window.onload=function(){ $("#searchForm").find(".col-md-12").find(".pull-left").find(".input-group").find(".input-group-btn").css("padding-bottom", (newIgHeight-igHeight)+"px"); }); + setTimeout(function (){ + heightDiv(); + },500); + } var setInterceptDefaultInfo=function(cfgId){ var action=$("input[name='action']:checked").val(); @@ -1823,11 +1827,5 @@ function heightDiv(){ $('.table-responsive').css({'height':hei+'px'}); } } - -window.onload=function (){ - setTimeout(function (){ - heightDiv(); - },500); -} window.onresize=heightDiv;