fix:code格式规整
This commit is contained in:
parent
8ce6878aa3
commit
6ed3fc5e7f
|
|
@ -379,15 +379,12 @@ export default {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
that.isSaveing = true;
|
that.isSaveing = true;
|
||||||
if (that.mode === "add") {
|
if (that.mode === "add") {
|
||||||
that.$API.mtm.route.create
|
that.$API.mtm.route.create.req(that.form).then((res) => {
|
||||||
.req(that.form)
|
|
||||||
.then((res) => {
|
|
||||||
that.isSaveing = false;
|
that.isSaveing = false;
|
||||||
that.$emit("success");
|
that.$emit("success");
|
||||||
that.visible = false;
|
that.visible = false;
|
||||||
that.$message.success("操作成功");
|
that.$message.success("操作成功");
|
||||||
})
|
}).catch((res) => {
|
||||||
.catch((res) => {
|
|
||||||
that.isSaveing = false;
|
that.isSaveing = false;
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue