This commit is contained in:
imeepos 2025-12-26 16:02:21 +08:00
parent 92f57595f0
commit db5e8833c2
2 changed files with 4 additions and 4 deletions

View File

@ -176,7 +176,7 @@ export default function GenerateVideoScreen() {
]) ])
if (user?.id) { if (user?.id) {
loadBalance(user.id) loadBalance()
} }
} }

View File

@ -49,7 +49,7 @@ export default function GenerationRecordScreen() {
useEffect(() => { useEffect(() => {
if (user?.id) { if (user?.id) {
loadBalance(user.id) loadBalance()
} }
}, [user?.id]) }, [user?.id])
@ -110,7 +110,7 @@ export default function GenerationRecordScreen() {
} else { } else {
Alert.alert('生成成功', '视频已生成完成') Alert.alert('生成成功', '视频已生成完成')
if (user?.id) { if (user?.id) {
loadBalance(user.id) loadBalance()
} }
if (newGeneration?.id) { if (newGeneration?.id) {
router.replace({ router.replace({