谦元吉
5 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|
|