fix: 暂存

This commit is contained in:
2026-06-18 09:19:23 +08:00
parent a382f36461
commit ab9e77669c
3 changed files with 3 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ function isPublicPath(path: string): boolean {
*/
function setupCommonGuard(router: Router) {
router.beforeEach(async (to) => {
return true
const accountStore = useAccountStore()
// 已登录用户访问公开路由(如登录页),直接跳转首页