Commit 10986c67 authored by 郝聪敏's avatar 郝聪敏

fix: 添加、修改家人接口通知提醒

parent 8317b49e
......@@ -220,11 +220,13 @@ export default {
}
if (this.type === "add") {
await addFamily(params);
this.$notify({ type: "success", message: "添加成功" });
await this.setFamilyList();
this.formData = _.cloneDeep(defaultFormData);
} else {
params.userInfoSecId = this.information?.userInfoSecId;
await updateFamily(params);
this.$notify({ type: "success", message: "修改成功" });
this.$router.push("/user/family");
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment