fix(auth): improve password form autocomplete

This commit is contained in:
2026-07-28 23:27:59 +08:00
parent 1a7fd11eee
commit 8ae004b466
5 changed files with 69 additions and 18 deletions
+10
View File
@@ -149,6 +149,16 @@ async function savePassword() {
</p>
</div>
<NForm class="grid gap-3" @submit.prevent="savePassword">
<input
:value="authStore.user?.email || ''"
type="text"
name="username"
autocomplete="username"
class="sr-only"
tabindex="-1"
aria-label="账户邮箱"
readonly
/>
<NInput
v-model:value="newPassword"
type="password"