diff --git a/greenOrange/src/view/Login.vue b/greenOrange/src/view/Login.vue index 6d0250d..57671d9 100644 --- a/greenOrange/src/view/Login.vue +++ b/greenOrange/src/view/Login.vue @@ -10,15 +10,13 @@
-
- - - - -
+ + + +
- +
{{ error }}
@@ -45,7 +43,7 @@ const store = userStore() const router = useRouter() //默认闭眼图标 -let showPassword = ref(false) +// let showPassword = ref(false) //登录密码隐藏 let type = ref('password') const userAccount = ref(''); @@ -137,14 +135,14 @@ const onLogin = async () => { /** * 显示密码 */ -const showPwd = () => { - showPassword.value = !showPassword.value - if (showPassword.value == false) { - type.value = 'password' - } else { - type.value = 'text' - } -} +// const showPwd = () => { +// showPassword.value = !showPassword.value +// if (showPassword.value == false) { +// type.value = 'password' +// } else { +// type.value = 'text' +// } +// } \ No newline at end of file