Compare commits

..

No commits in common. "bb63bc646d00c31a46c98abc12b14ae8a34f8abe" and "ff63c228b82420065b85d3dd3ced7b5a56fe79e5" have entirely different histories.

2 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ router.beforeEach(async (to, from, next) => {
} else {
next(`/login?redirect=${to.path}`);
}
window.location.reload(); // 强制刷新以重置路由,避免卡在白屏
}
});

View File

@ -52,6 +52,7 @@ router.beforeEach(async (to, from, next) => {
} else {
next(`/login?redirect=${to.path}`);
}
window.location.reload(); // 强制刷新以重置路由,避免卡在白屏
}
});