feat : 预加载常用页面

This commit is contained in:
2025-12-25 17:06:27 +08:00
parent 9ff9d9db5e
commit 433352c902
5 changed files with 5 additions and 4 deletions

View File

@@ -147,7 +147,7 @@ const useUserStore = defineStore("user", () => {
return false //验证失败
}
if (hasLogin.value && !isAuth.value) {
navTo('/pages/auth/index')
navTo('/pages/auth/auth')
return false //验证失败
}
return true // 验证通过