feat : 预加载常用页面
This commit is contained in:
@@ -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 // 验证通过
|
||||
|
||||
Reference in New Issue
Block a user