mirror of
https://github.com/continew-org/continew-admin.git
synced 2025-10-27 18:57:14 +08:00
fix: 修复个人中心密码设置状态显示错误的问题
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
>
|
||||
<a-form ref="formRef" :model="form" :rules="rules" size="large">
|
||||
<a-form-item
|
||||
v-if="userStore.pwdResetTime"
|
||||
:label="
|
||||
$t('userCenter.securitySettings.updatePwd.form.label.oldPassword')
|
||||
"
|
||||
@@ -197,6 +198,7 @@
|
||||
oldPassword: encryptByRsa(form.oldPassword) || '',
|
||||
newPassword: encryptByRsa(form.newPassword) || '',
|
||||
}).then((res) => {
|
||||
userStore.getInfo();
|
||||
handleCancel();
|
||||
proxy.$message.success(res.msg);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user