取消跳转

This commit is contained in:
al 2024-11-06 16:36:30 +08:00
parent d2a332d08b
commit 062e7a6f4a
1 changed files with 2 additions and 2 deletions
components/WithAuth

View File

@ -36,8 +36,8 @@ export default function WithAuth(WrappedComponent) {
content: "当前登录失效,请重新登录",
position: "top",
});
removeUserInfo();
router.push("/login");
// removeUserInfo();
// router.push("/login");
} else {
if (pathname.includes("login")) {
router.push("/");