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