From 4e27ed41ec41ad3e5ac3c0a0bc2ebf2517bc2285 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Fri, 4 Aug 2023 10:59:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E5=86=8C=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Views/Home/Index.cshtml | 2 +- Host/Views/Shared/_Layout.cshtml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) }