Compare commits
2 Commits
ff63c228b8
...
bb63bc646d
Author | SHA1 | Date | |
---|---|---|---|
bb63bc646d | |||
ffe21b12ca |
@ -53,7 +53,6 @@ router.beforeEach(async (to, from, next) => {
|
||||
} else {
|
||||
next(`/login?redirect=${to.path}`);
|
||||
}
|
||||
window.location.reload(); // 强制刷新以重置路由,避免卡在白屏
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -52,7 +52,6 @@ router.beforeEach(async (to, from, next) => {
|
||||
} else {
|
||||
next(`/login?redirect=${to.path}`);
|
||||
}
|
||||
window.location.reload(); // 强制刷新以重置路由,避免卡在白屏
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user