Commit 74fc3448 authored by 黄奎's avatar 黄奎
parents 61e183ba 84759118
...@@ -345,8 +345,8 @@ ...@@ -345,8 +345,8 @@
} }
this.saveCustomLoading = true; this.saveCustomLoading = true;
SetCustomerTask(this.objOption).then(res => { SetCustomerTask(this.objOption).then(res => {
this.saveCustomLoading = false;
if (res.Code == 1) { if (res.Code == 1) {
this.saveCustomLoading = false;
this.$q.notify({ this.$q.notify({
icon: "iconfont icon-chenggong", icon: "iconfont icon-chenggong",
color: "accent", color: "accent",
...@@ -357,6 +357,8 @@ ...@@ -357,6 +357,8 @@
this.$emit("success"); this.$emit("success");
this.closeTaskForm() this.closeTaskForm()
} }
}).catch(() => {
this.saveCustomLoading = false
}) })
} }
}, },
......
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