feat: ✨ 个人中心修改密码
This commit is contained in:
1 parent
674629269c
commit
4ecae53161
4 files changed
+97
-26
No files matched your search
@@ -158,7 +158,7 @@ function handleOperatClick(data: IOperatData) {
|
||||
ElMessage.warning("密码至少需要6位字符,请重新输入");
|
||||
return false;
|
||||
}
|
||||
UserAPI.updatePassword(data.row.id, value).then(() => {
|
||||
UserAPI.resetPassword(data.row.id, value).then(() => {
|
||||
ElMessage.success("密码重置成功,新密码是:" + value);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user