From dbfe54f4ba94343827108297551b882c37db68ab Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 14 十一月 2020 16:05:57 +0800
Subject: [PATCH] Merge branch 'jswcs' of https://gitee.com/luxiaotao1123/zy-wcs into jswcs
---
src/main/webapp/static/js/common.js | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js
index c44918f..53a1d93 100644
--- a/src/main/webapp/static/js/common.js
+++ b/src/main/webapp/static/js/common.js
@@ -1,9 +1,4 @@
-// 鐢熶骇
-// var baseUrl = "/wcs";
-// 娴嬭瘯
-var baseUrl = "";
-// 绯荤粺杩愯鐘舵��
-var systemRunning = true;
+var baseUrl = "/jswcs";
// 璧嬪��
function setVal(el, val) {
@@ -145,9 +140,9 @@
if (res.code === 200){
callback(res);
} else if (res.code === 403){
- window.location.href = baseUrl+"/login";
+ parent.location.href = baseUrl+"/login";
} else {
- alert(res.msg);
+ layer.msg(res.msg, {icon: 2});
}
},
error: function (res, type) {
--
Gitblit v1.9.1