取消跳转

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

View File

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