From 288a134f874512f2446232440430754864821653 Mon Sep 17 00:00:00 2001 From: xingyu4j Date: Mon, 14 Jul 2025 14:39:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=A0=B7=E5=BC=8F=E5=8F=8A=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Login/Login.vue | 2 +- .../Login/components/ForgetPasswordForm.vue | 36 +++++++++---------- src/views/Login/components/LoginForm.vue | 36 +++++++++---------- src/views/Login/components/MobileForm.vue | 20 +++++------ src/views/Login/components/QrCodeForm.vue | 14 ++++---- src/views/Login/components/RegisterForm.vue | 24 ++++++------- src/views/Login/components/SSOLogin.vue | 8 ++--- 7 files changed, 70 insertions(+), 70 deletions(-) diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue index b2ff3809..30af14f6 100644 --- a/src/views/Login/Login.vue +++ b/src/views/Login/Login.vue @@ -118,4 +118,4 @@ $prefix-cls: #{$namespace}-login; background-color: var(--login-bg-color); } } - \ No newline at end of file + diff --git a/src/views/Login/components/ForgetPasswordForm.vue b/src/views/Login/components/ForgetPasswordForm.vue index 0b6c56a7..0c3b2e04 100644 --- a/src/views/Login/components/ForgetPasswordForm.vue +++ b/src/views/Login/components/ForgetPasswordForm.vue @@ -9,14 +9,14 @@ label-width="120px" size="large" > - + - + - + - + - + - + @@ -73,44 +73,44 @@ - + - + - + - + @@ -134,7 +134,7 @@ const verify = ref() const { t } = useI18n() const message = useMessage() -const { currentRoute, push } = useRouter() +const { currentRoute } = useRouter() const formSmsResetPassword = ref() const loginLoading = ref(false) const iconHouse = useIcon({ icon: 'ep:house' }) @@ -145,7 +145,7 @@ const { handleBackLogin, getLoginState, setLoginState } = useLoginState() const getShow = computed(() => unref(getLoginState) === LoginStateEnum.RESET_PASSWORD) const captchaType = ref('blockPuzzle') // blockPuzzle 滑块 clickWord 点击文字 -const validatePass2 = (rule, value, callback) => { +const validatePass2 = (_rule, value, callback) => { if (value === '') { callback(new Error('请再次输入密码')) } else if (value !== resetPasswordData.password) { diff --git a/src/views/Login/components/LoginForm.vue b/src/views/Login/components/LoginForm.vue index 37d8b8c7..3c4e1d1a 100644 --- a/src/views/Login/components/LoginForm.vue +++ b/src/views/Login/components/LoginForm.vue @@ -9,13 +9,13 @@ label-width="120px" size="large" > - - + + - + - + - + - + @@ -60,7 +60,7 @@ @@ -70,12 +70,12 @@ - + @@ -89,27 +89,27 @@ mode="pop" @success="handleLogin" /> - + @@ -117,9 +117,9 @@ {{ t('login.otherLogin') }} - + -
+
萌新必读 - + -
+
📚开发指南 🔥视频教程 diff --git a/src/views/Login/components/MobileForm.vue b/src/views/Login/components/MobileForm.vue index 7f5d9942..bb4f1a69 100644 --- a/src/views/Login/components/MobileForm.vue +++ b/src/views/Login/components/MobileForm.vue @@ -9,14 +9,14 @@ label-width="120px" size="large" > - + - + - + - + - + - + @@ -68,23 +68,23 @@ - + - + diff --git a/src/views/Login/components/QrCodeForm.vue b/src/views/Login/components/QrCodeForm.vue index 2670d000..601052d5 100644 --- a/src/views/Login/components/QrCodeForm.vue +++ b/src/views/Login/components/QrCodeForm.vue @@ -1,17 +1,17 @@