取消跳转
This commit is contained in:
parent
d2a332d08b
commit
062e7a6f4a
|
@ -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("/");
|
||||
|
|
Loading…
Reference in New Issue