Skip to content

Commit

Permalink
[*] 回车键登录调用 Turnstile 验证
Browse files Browse the repository at this point in the history
  • Loading branch information
Daiyangcheng committed Dec 25, 2024
1 parent 2eac3bb commit 99554d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/auth/LoginView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
type="text"
v-model:value="model.username"
placeholder="用户名"
@keyup.enter="login"
@keyup.enter="showTurnstile = true"
/>
</n-form-item>
<n-form-item label="密码" path="password">
<n-input
type="password"
v-model:value="model.password"
placeholder="密码"
@keyup.enter="login"
@keyup.enter="showTurnstile = true"
/>
</n-form-item>
<div>
Expand Down

0 comments on commit 99554d9

Please sign in to comment.