From cd93b3f1992cad3f2940e201fc7d3236fac9d7c0 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期二, 11 八月 2020 15:30:26 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/js/common.js |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js
index fdc899f..bda3a25 100644
--- a/src/main/webapp/static/js/common.js
+++ b/src/main/webapp/static/js/common.js
@@ -2,8 +2,7 @@
 // var baseUrl = "/wcs";
 // 娴嬭瘯
 var baseUrl = "";
-// 绯荤粺杩愯鐘舵��
-var systemRunning = true;
+
 
 // 璧嬪��
 function setVal(el, val) {
@@ -88,7 +87,7 @@
                         (child?parent:window).$('.'+res.data[i].code).css("display", "inline-block");
                     }
                 } else if (res.code === 403){
-                    top.location.href = baseUrl;
+                    window.location.href = baseUrl;
                 } else {
                     layer.msg(res.msg)
                 }
@@ -145,7 +144,7 @@
                     if (res.code === 200){
                         callback(res);
                     } else if (res.code === 403){
-                        top.location.href = baseUrl+"/login";
+                        window.location.href = baseUrl+"/login";
                     }  else {
                         alert(res.msg);
                     }

--
Gitblit v1.9.1