mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 04:40:59 +00:00
Merge pull request #2749 from wans10/main
This commit is contained in:
@@ -465,9 +465,8 @@ const TopUp = () => {
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (!userState?.user?.id) {
|
||||
getUserQuota().then();
|
||||
}
|
||||
// 始终获取最新用户数据,确保余额等统计信息准确
|
||||
getUserQuota().then();
|
||||
setTransferAmount(getQuotaPerUnit());
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user