fix:css

This commit is contained in:
郭文文 2026-01-27 12:32:53 +08:00
parent 70e8132429
commit 4fb909a8be
1 changed files with 4 additions and 4 deletions

View File

@ -75,10 +75,8 @@ export default function Auth() {
}
return
}
Toast.show({ title: '验证码已发送,请查收短信' })
setCountdown(60) // 开始倒计时
Toast.show({ title: '验证码已发送,请查收短信' })
// 倒计时逻辑
if (countdownTimerRef.current) {
clearInterval(countdownTimerRef.current)
@ -142,7 +140,9 @@ export default function Auth() {
}
await getSession()
Toast.show({ title: '登录成功!' })
router.replace('/(tabs)')
setTimeout(() => {
router.replace('/(tabs)')
}, 500)
},
onError: (ctx: any) => {
reject(new Error(ctx.error.message))