diff --git a/Host/Views/Home/Index.cshtml b/Host/Views/Home/Index.cshtml
index fa7295d..03e21d4 100644
--- a/Host/Views/Home/Index.cshtml
+++ b/Host/Views/Home/Index.cshtml
@@ -798,7 +798,7 @@
success: function (res) {
console.log(res);
if (res.Code == 10000) {
- window.location.reload();
+ window.location.href='/User/Index';
} else {
alert(res.Message)
}
diff --git a/Host/Views/Shared/_Layout.cshtml b/Host/Views/Shared/_Layout.cshtml
index 0de788d..378d773 100644
--- a/Host/Views/Shared/_Layout.cshtml
+++ b/Host/Views/Shared/_Layout.cshtml
@@ -480,7 +480,7 @@
success: function (res) {
console.log(res);
if (res.Code == 10000) {
- window.location.reload();
+ window.location.href='/User/Index';
} else {
alert(res.Message)
}