From ce66eeec85f4df8b89bff1532f57e1924a53a48a Mon Sep 17 00:00:00 2001 From: xy <271556543@qq.com> Date: Thu, 8 Aug 2024 10:42:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E6=9C=BA=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index b2fa240..364111d 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -26,10 +26,12 @@ ref="username" v-model="loginForm.username" placeholder="请输入账号" + :autofocus="true" name="username" type="text" tabindex="1" - auto-complete="off" + auto-complete="true" + /> @@ -40,12 +42,13 @@ @@ -247,7 +250,7 @@ $cursor: #fff; padding: 12px 5px 12px 15px; color: #666; height: 47px; - caret-color: $cursor; + caret-color: #000; &:-webkit-autofill { box-shadow: 0 0 0px 1000px $bg inset !important;