From 4fb909a8be9fd8f7bd10ffd9e3fc9757c296675c Mon Sep 17 00:00:00 2001 From: gww Date: Tue, 27 Jan 2026 12:32:53 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Acss?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/auth.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/auth.tsx b/app/auth.tsx index 719b61e..72137ab 100644 --- a/app/auth.tsx +++ b/app/auth.tsx @@ -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))