From 57ff43d744685f77b6509c69716c82b5c2073f2e Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期一, 25 五月 2020 11:12:56 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/detail.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/views/detail.html b/src/main/webapp/views/detail.html
index 323814b..d38ca41 100644
--- a/src/main/webapp/views/detail.html
+++ b/src/main/webapp/views/detail.html
@@ -116,7 +116,7 @@
                         $('#person-detail').find(":input[id='" + val + "']").val(user[val]);
                     }
                 } else if (res.code === 403){
-                    top.location.href = "/";
+                    top.location.href = baseUrl;
                 } else {
                     layer.msg(res.msg);
                 }
@@ -159,7 +159,7 @@
                             localStorage.setItem("username", user.username);
                             parent.$('#person-username').text(localStorage.getItem('username'));
                         } else if (res.code === 403){
-                            top.location.href = "/";
+                            top.location.href = baseUrl;
                         } else {
                             layer.msg(res.msg);
                         }

--
Gitblit v1.9.1