From 8b629fe0f1a5be2bf87c7b6df3c96502a166e394 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Thu, 18 Mar 2021 23:26:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Ejs.window=E6=96=B9=E6=B3=95?= =?UTF-8?q?=EF=BC=8C=E6=9B=BF=E4=BB=A3top.window?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/views/include/sysIndex/topMenuCorp.html | 2 +- .../src/main/resources/views/modules/sys/switchSkin.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/core/src/main/resources/views/include/sysIndex/topMenuCorp.html b/modules/core/src/main/resources/views/include/sysIndex/topMenuCorp.html index 59d201f6..b0ba9ead 100644 --- a/modules/core/src/main/resources/views/include/sysIndex/topMenuCorp.html +++ b/modules/core/src/main/resources/views/include/sysIndex/topMenuCorp.html @@ -16,7 +16,7 @@ if (corpCode != ''){ js.ajaxSubmit("${ctx}/sys/corpAdmin/switch/"+corpCode, function(data){ js.showMessage(data.message); - top.location.reload(); + js.window.location.reload(); }); } } diff --git a/modules/core/src/main/resources/views/modules/sys/switchSkin.html b/modules/core/src/main/resources/views/modules/sys/switchSkin.html index 87005b5d..db6c1b64 100644 --- a/modules/core/src/main/resources/views/modules/sys/switchSkin.html +++ b/modules/core/src/main/resources/views/modules/sys/switchSkin.html @@ -158,7 +158,7 @@ <% } %> \ No newline at end of file