添加注释

This commit is contained in:
dzq 2025-04-18 11:31:02 +08:00
parent 6e5a076d81
commit 877f3fb954
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ export function registerNavigationGuard(router: Router) {
return true;
}
// useAb98UserStore位置不能放在外面否则会导致路由守卫无法正常工作
const ab98UserStore = useAb98UserStore();
if (!ab98UserStore.isLogin) {
// 如果在免登录的白名单中,则直接进入