From 4586389a5103afc4b5468bf22301804df6fd8720 Mon Sep 17 00:00:00 2001 From: unknown <774378400@qq.com> Date: Sat, 10 Oct 2026 15:53:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B3=A8=E9=87=8A=E6=8E=89=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=AF=86=E7=A0=81=E6=8F=90=E7=A4=BA=E9=80=BB=E8=BE=91?= =?UTF-8?q?=EF=BC=8C=E4=BF=9D=E7=95=99=E8=BF=87=E6=9C=9F=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/user.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/store/modules/user.js b/src/store/modules/user.js index 66ed920..0237612 100644 --- a/src/store/modules/user.js +++ b/src/store/modules/user.js @@ -58,11 +58,11 @@ const useUserStore = defineStore( this.avatar = avatar cache.session.set('pwrChrtype', res.pwdChrtype) /* 初始密码提示 */ - if(res.isDefaultModifyPwd) { - ElMessageBox.confirm('您的密码还是初始密码,请修改密码!', '安全提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => { - router.push({ name: 'Profile', params: { activeTab: 'resetPwd' } }) - }).catch(() => {}) - } + // if(res.isDefaultModifyPwd) { + // ElMessageBox.confirm('您的密码还是初始密码,请修改密码!', '安全提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => { + // router.push({ name: 'Profile', params: { activeTab: 'resetPwd' } }) + // }).catch(() => {}) + // } /* 过期密码提示 */ if(!res.isDefaultModifyPwd && res.isPasswordExpired) { ElMessageBox.confirm('您的密码已过期,请尽快修改密码!', '安全提示', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(() => {