From fe0fad0fa0300f16bc1cb3148732290affbf451a Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期六, 14 十一月 2020 16:05:47 +0800
Subject: [PATCH] #

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

diff --git a/src/main/webapp/static/js/common.js b/src/main/webapp/static/js/common.js
index e4ef932..53a1d93 100644
--- a/src/main/webapp/static/js/common.js
+++ b/src/main/webapp/static/js/common.js
@@ -140,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