验证优化的代码有点问题,先恢复之前代码

This commit is contained in:
郭永超 2025-08-13 09:56:15 +08:00
parent 3bceee2290
commit ffe21b12ca
2 changed files with 0 additions and 2 deletions

View File

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

View File

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