Compare commits
No commits in common. "bb63bc646d00c31a46c98abc12b14ae8a34f8abe" and "ff63c228b82420065b85d3dd3ced7b5a56fe79e5" have entirely different histories.
bb63bc646d
...
ff63c228b8
@ -53,6 +53,7 @@ router.beforeEach(async (to, from, next) => {
|
||||
} else {
|
||||
next(`/login?redirect=${to.path}`);
|
||||
}
|
||||
window.location.reload(); // 强制刷新以重置路由,避免卡在白屏
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -52,6 +52,7 @@ router.beforeEach(async (to, from, next) => {
|
||||
} else {
|
||||
next(`/login?redirect=${to.path}`);
|
||||
}
|
||||
window.location.reload(); // 强制刷新以重置路由,避免卡在白屏
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user