diff --git a/src/views/home/components/loginInfo.vue b/src/views/home/components/loginInfo.vue index cef02829..aecd9469 100644 --- a/src/views/home/components/loginInfo.vue +++ b/src/views/home/components/loginInfo.vue @@ -26,8 +26,10 @@ prefix-icon=" " v-model="form.password" type="password" + auto-complete="off" show-password placeholder="请输入密码" + @keyup.enter.native="loginFn" > @@ -105,6 +107,8 @@ export default { background-color: rgba(2, 38, 64,0); //设置input输入框的背景颜色为透明色 transition: background-color 50000s ease-in-out 0s; + //修改光标颜色 + caret-color:#eeeeee; } .leftContent { position: absolute;