feat: 登陆状态调整
This commit is contained in:
@@ -92,7 +92,7 @@ export default function TradingSimulation() {
|
||||
userId: user?.id,
|
||||
userName: user?.name
|
||||
});
|
||||
}, [isAuthenticated, user]);
|
||||
}, [isAuthenticated, user?.id]); // 只依赖 user.id,避免无限循环
|
||||
|
||||
// 获取资产历史数据的 useEffect
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user