diff --git a/src/pages/login.vue b/src/pages/login.vue index 1640518b..9e5e9388 100644 --- a/src/pages/login.vue +++ b/src/pages/login.vue @@ -240,7 +240,7 @@ onUnmounted(() => { MoviePilot - + @@ -249,6 +249,8 @@ onUnmounted(() => { v-model="form.username" label="用户名" type="text" + name="username" + autocomplete="username" :rules="[requiredValidator]" @input="fetchOTP" /> @@ -259,6 +261,8 @@ onUnmounted(() => { v-model="form.password" label="密码" :type="isPasswordVisible ? 'text' : 'password'" + name="current-password" + autocomplete="current-password" :append-inner-icon="isPasswordVisible ? 'mdi-eye-off-outline' : 'mdi-eye-outline'" :rules="[requiredValidator]" @click:append-inner="isPasswordVisible = !isPasswordVisible"