feat: support autocomplete for login form fields to enhance password manager compatibility (#9794)

This commit is contained in:
hang 2025-08-01 16:28:20 +08:00 committed by GitHub
parent 9c292bebf0
commit 67ffb5e938
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -77,6 +77,8 @@
:placeholder="$t('commons.login.username')"
class="w-full"
size="large"
name="username"
autocomplete="username"
></el-input>
</el-form-item>
<el-form-item prop="password" class="w-full">
@ -87,6 +89,8 @@
class="w-full"
size="large"
:placeholder="$t('commons.login.password')"
name="password"
autocomplete="current-password"
></el-input>
</el-form-item>
<el-row :gutter="10">