Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c57592f3
authored
Sep 02, 2025
by
谦元吉
Committed by
GitHub
Sep 02, 2025
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(@vben-core/shadcn-ui): 修复VbenPinInput组件在点击获取验证码和回车同时进行时会重复触发计时器的问题 (#6705)
1 parent
b0d7b177
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
packages/@core/ui-kit/shadcn-ui/src/components/pin-input/input.vue
packages/@core/ui-kit/shadcn-ui/src/components/pin-input/input.vue
View file @
c57592f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment