mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-09-12 18:44:25 +08:00
refactor: 前端界面微调
This commit is contained in:
@@ -646,6 +646,7 @@ const stepIcons = [User, Video, Keyboard, Puzzle]
|
||||
id="username"
|
||||
v-model="username"
|
||||
type="text"
|
||||
autocomplete="username"
|
||||
:placeholder="t('setup.usernameHint')"
|
||||
class="pl-10"
|
||||
:class="{ 'border-destructive focus-visible:ring-destructive': usernameError }"
|
||||
@@ -665,6 +666,7 @@ const stepIcons = [User, Video, Keyboard, Puzzle]
|
||||
id="password"
|
||||
v-model="password"
|
||||
:type="showPassword ? 'text' : 'password'"
|
||||
autocomplete="new-password"
|
||||
:placeholder="t('setup.passwordHint')"
|
||||
class="pr-10"
|
||||
:class="{ 'border-destructive focus-visible:ring-destructive': passwordError }"
|
||||
@@ -707,6 +709,7 @@ const stepIcons = [User, Video, Keyboard, Puzzle]
|
||||
id="confirmPassword"
|
||||
v-model="confirmPassword"
|
||||
:type="showPassword ? 'text' : 'password'"
|
||||
autocomplete="new-password"
|
||||
:placeholder="t('setup.confirmPassword')"
|
||||
:class="{ 'border-destructive focus-visible:ring-destructive': confirmPasswordError }"
|
||||
@blur="validateConfirmPassword"
|
||||
|
||||
Reference in New Issue
Block a user