From a143f953c4c996f6c4e801da24ad4370bcb82282 Mon Sep 17 00:00:00 2001 From: chenjinsong Date: Fri, 28 Dec 2018 09:34:17 +0800 Subject: [PATCH] =?UTF-8?q?login=E9=A1=B5=EF=BC=8C=E9=BD=BF=E8=BD=AE?= =?UTF-8?q?=E5=9B=BE=E9=80=82=E9=85=8D=E7=81=AB=E7=8B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/views/login.jsp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/WEB-INF/views/login.jsp b/src/main/webapp/WEB-INF/views/login.jsp index 132b8641b..3f3c57132 100644 --- a/src/main/webapp/WEB-INF/views/login.jsp +++ b/src/main/webapp/WEB-INF/views/login.jsp @@ -527,9 +527,20 @@ }; lines_Chart_chu.setOption(line_chu_option); + var url = window.location.href; + var parm = parseInt(Math.random() * 10); + if (url.lastIndexOf('?') > -1) { +   url = url + parm; + } else { +   url = url + "?" + parm; + } + $(window).resize(function(){ - window.location.reload(); + window.location.href = url; }); + /* $(window).resize(function(){ + window.location.reload(); + }); */