feat: 登陆状态调整

This commit is contained in:
zdl
2025-10-20 13:58:07 +08:00
parent b2681231b0
commit d695f8ff7b
8 changed files with 37 additions and 70 deletions

View File

@@ -35,7 +35,7 @@ export default function HomePage() {
isAuthenticated,
hasUser: !!user
});
}, [user, isAuthenticated]);
}, [user?.id, isAuthenticated]); // 只依赖 user.id,避免无限循环
// 核心功能配置 - 5个主要功能
const coreFeatures = [