From 7905fb83ff6daa35422877cd741d9d6d99241239 Mon Sep 17 00:00:00 2001 From: "HOMEDO\\zhangjiayun" Date: Fri, 26 Aug 2022 10:07:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=99=BB=E5=BD=95=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86=E5=8A=A0=E4=B8=80=E9=94=AE=E6=B8=85=E7=A9=BA=E5=92=8C?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E6=A1=86=E6=98=BE=E7=A4=BA=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/login/index.vue | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 77d39b9f..7b0ca408 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -10,21 +10,17 @@ v-model="loginParams.username" autofocus :placeholder="t('用户名') + '(示例:admin、editor、viewer)'" + clearable /> - - + clearable + show-password + /> {{ t('登录') }} @@ -43,7 +39,6 @@ const route = useRoute(); const router = useRouter(); let loginParams = reactive(new LoginParams()); let { t } = useLocalesI18n(); -let showPass = ref(false); const rules = computed(() => ({ username: [ {