Fix login or register not working when pressing enter
This commit is contained in:
parent
63726ed59f
commit
c041eab7a2
2 changed files with 15 additions and 4 deletions
|
|
@ -19,6 +19,7 @@
|
|||
type="text"
|
||||
autocomplete="username"
|
||||
v-focus
|
||||
@keyup.enter="submit"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -34,6 +35,7 @@
|
|||
required
|
||||
type="password"
|
||||
autocomplete="current-password"
|
||||
@keyup.enter="submit"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -48,6 +50,7 @@
|
|||
required
|
||||
type="text"
|
||||
v-focus
|
||||
@keyup.enter="submit"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Reference in a new issue