perf[login.vue]: add tabindex for login form (#1933)

This commit is contained in:
toruksmakto 2019-04-18 19:54:34 +08:00 committed by 花裤衩
parent ea91066b18
commit 7ca42be603
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@
:placeholder="$t('login.username')"
name="username"
type="text"
tabindex="1"
auto-complete="on"
/>
</el-form-item>
@ -35,6 +36,7 @@
:type="passwordType"
:placeholder="$t('login.password')"
name="password"
tabindex="2"
auto-complete="on"
@keyup.native="checkCapslock"
@blur="capsTooltip = false"