From c57592f3a69a9709e860ae0ea4b9415b7676f9bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A6=E5=85=83=E5=90=89?= <87116441+qianYuanJ@users.noreply.github.com> Date: Tue, 2 Sep 2025 16:56:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(@vben-core/shadcn-ui):=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?VbenPinInput=E7=BB=84=E4=BB=B6=E5=9C=A8=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E9=AA=8C=E8=AF=81=E7=A0=81=E5=92=8C=E5=9B=9E?= =?UTF-8?q?=E8=BD=A6=E5=90=8C=E6=97=B6=E8=BF=9B=E8=A1=8C=E6=97=B6=E4=BC=9A?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E8=A7=A6=E5=8F=91=E8=AE=A1=E6=97=B6=E5=99=A8?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#6705)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../@core/ui-kit/shadcn-ui/src/components/pin-input/input.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@core/ui-kit/shadcn-ui/src/components/pin-input/input.vue b/packages/@core/ui-kit/shadcn-ui/src/components/pin-input/input.vue index 941198d15..9bbd456f9 100644 --- a/packages/@core/ui-kit/shadcn-ui/src/components/pin-input/input.vue +++ b/packages/@core/ui-kit/shadcn-ui/src/components/pin-input/input.vue @@ -59,9 +59,9 @@ function handleComplete(e: string[]) { async function handleSend(e: Event) { try { e?.preventDefault(); - await handleSendCode(); countdown.value = maxTime; startCountdown(); + await handleSendCode(); } catch (error) { console.error('Failed to send code:', error); // Consider emitting an error event or showing a notification