mirror of https://github.com/halo-dev/halo-admin
perf: add autofocus to login username input (#742)
#### What type of PR is this? /kind improvement #### What this PR does / why we need it: 以便用户可以直接输入用户名,不需要再进行额外的鼠标键盘操作 #### Which issue(s) this PR fixes: Fixes https://github.com/halo-dev/halo/issues/2779 #### Screenshots:  ```release-note Console 端登录页面支持自动聚焦输入框 ```pull/743/head
parent
40765be2e2
commit
08d0835634
|
@ -86,6 +86,7 @@ onMounted(() => {
|
||||||
}"
|
}"
|
||||||
name="username"
|
name="username"
|
||||||
placeholder="用户名"
|
placeholder="用户名"
|
||||||
|
:autofocus="true"
|
||||||
type="text"
|
type="text"
|
||||||
validation="required"
|
validation="required"
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue