feat:合并

This commit is contained in:
lixg
2022-12-02 10:43:04 +08:00
15 changed files with 701 additions and 491 deletions

View File

@@ -251,8 +251,8 @@ export default {
if (props.edit) {
api
.updateDiscuss(obj)
.then((res) => {
updateTask(res);
.then(async (res) => {
await updateTask(res);
closeDrawer();
ctx.emit("changeData", false);
message.destroy();
@@ -265,8 +265,8 @@ export default {
} else {
api
.createDiscuss(obj)
.then((res) => {
updateTask(res);
.then(async (res) => {
await updateTask(res);
closeDrawer();
ctx.emit("changeData", false);
message.destroy();