|
@@ -178,6 +178,17 @@ export default {
|
|
// });
|
|
// });
|
|
const res = await editPwd({new_pw: this.editForm.pwd,new_pw2: this.editForm.rePwd,})
|
|
const res = await editPwd({new_pw: this.editForm.pwd,new_pw2: this.editForm.rePwd,})
|
|
console.log('修改密码', res);
|
|
console.log('修改密码', res);
|
|
|
|
+ if (res && res.message == "成功") {
|
|
|
|
+ this.$message({
|
|
|
|
+ message: "修改成功",
|
|
|
|
+ type: "success",
|
|
|
|
+ center: true,
|
|
|
|
+ duration: 1000,
|
|
|
|
+ onClose: () => {
|
|
|
|
+ this.onCloseEditDialog();
|
|
|
|
+ },
|
|
|
|
+ });
|
|
|
|
+ }
|
|
} else {
|
|
} else {
|
|
console.log("error submit!!");
|
|
console.log("error submit!!");
|
|
return false;
|
|
return false;
|