From 468d6c8ef269862a8149727fa974c99e664f40be Mon Sep 17 00:00:00 2001
From: bjang03 <259278618@qq.com>
Date: Mon, 14 Oct 2024 10:48:49 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=86=8D=E6=AC=A1=E8=BE=93?=
=?UTF-8?q?=E5=85=A5=E6=96=B0=E5=AF=86=E7=A0=81=E6=8F=90=E7=A4=BA=E6=96=87?=
=?UTF-8?q?=E5=AD=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/login/components/LoginForm.vue | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/views/login/components/LoginForm.vue b/src/views/login/components/LoginForm.vue
index 5ab2c3bbc..6ac238037 100644
--- a/src/views/login/components/LoginForm.vue
+++ b/src/views/login/components/LoginForm.vue
@@ -272,15 +272,16 @@
)
router.push({path:"/updatePasswordNewTips",query:{username:loginData.loginForm.username}})
return
- // case 1:
- // await ElMessageBox.alert(
- // '密码过期,请联系管理员修改',
- // '重要提示',
- // {
- // dangerouslyUseHTMLString: true,
- // }
- // )
- // return
+ case 1:
+ await ElMessageBox.alert(
+ '密码到期,请立即修改',
+ '重要提示',
+ {
+ dangerouslyUseHTMLString: true,
+ }
+ )
+ router.push({path:"/updatePasswordNewTips",query:{username:loginData.loginForm.username}})
+ return
default:
await ElMessageBox.alert(
'密码'+differenceDays+'到期,请尽快修改。',