From ade4bc8f860e3d905370db56f81723910e7f19e8 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 08 六月 2020 14:33:10 +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