登录框添加回车键监听
This commit is contained in:
parent
cd20eef8bc
commit
38bdc3298f
@ -43,7 +43,7 @@ function resetLoginError() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<v-dialog v-model="showLoginDialog" persistent width="450">
|
<v-dialog v-model="showLoginDialog" persistent width="450" @keyup.enter="tryLogin">
|
||||||
<v-card prepend-icon="mdi-login" :title="t('$vuetify.login.title')" class="px-10">
|
<v-card prepend-icon="mdi-login" :title="t('$vuetify.login.title')" class="px-10">
|
||||||
<v-text-field class="login-dialog-input" flat prepend-inner-icon="mdi-account-outline"
|
<v-text-field class="login-dialog-input" flat prepend-inner-icon="mdi-account-outline"
|
||||||
:label="t('$vuetify.login.username')"
|
:label="t('$vuetify.login.username')"
|
||||||
|
Loading…
Reference in New Issue
Block a user