登录框添加回车键监听

This commit is contained in:
05412 2024-08-28 14:29:08 +08:00
parent cd20eef8bc
commit 38bdc3298f

View File

@ -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')"