Commit 0a899b9c authored by zhoutong's avatar zhoutong

预装点叉不调用接口

parent 4a95b956
...@@ -347,11 +347,13 @@ export default { ...@@ -347,11 +347,13 @@ export default {
}); });
}) })
.catch((_) => { .catch((_) => {
createGoods({ ...params, relationStatus: 2, singleLoad: true }).then((res) => { if(action =='cancel'){
serviceMsg(res, this).then(() => { createGoods({ ...params, relationStatus: 2, singleLoad: true }).then((res) => {
this.queryAllData(); serviceMsg(res, this).then(() => {
this.queryAllData();
});
}); });
}); }
}); });
} }
}); });
......
...@@ -725,11 +725,13 @@ export default { ...@@ -725,11 +725,13 @@ export default {
}); });
}) })
.catch((_) => { .catch((_) => {
createGoods({ ...params, relationStatus: 2, singleLoad: true }).then((res) => { if(action =='cancel'){
serviceMsg(res, this).then(() => { createGoods({ ...params, relationStatus: 2, singleLoad: true }).then((res) => {
this.queryAllData(); serviceMsg(res, this).then(() => {
this.queryAllData();
});
}); });
}); }
}); });
} }
}); });
......
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