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