会员修改刷新列表
parent
1c765f37cf
commit
b36be16f38
|
@ -466,7 +466,6 @@ export default {
|
||||||
|
|
||||||
// 提交修改数据
|
// 提交修改数据
|
||||||
handleSubmitModal() {
|
handleSubmitModal() {
|
||||||
debugger
|
|
||||||
const { nickName, sex, username, face, newPassword,id } = this.form;
|
const { nickName, sex, username, face, newPassword,id } = this.form;
|
||||||
let time = new Date(this.form.birthday);
|
let time = new Date(this.form.birthday);
|
||||||
let birthday = this.form.birthday=== undefined?'':
|
let birthday = this.form.birthday=== undefined?'':
|
||||||
|
@ -491,7 +490,7 @@ export default {
|
||||||
API_Member.updateMember(submit).then((res) => {
|
API_Member.updateMember(submit).then((res) => {
|
||||||
if (res.result) {
|
if (res.result) {
|
||||||
this.$Message.success("修改成功!");
|
this.$Message.success("修改成功!");
|
||||||
this.init();
|
this.getData();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue