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

@@ -642,20 +642,20 @@ export default {
if (props.edit) {
api
.updateLiveBroadcastMessage(state.obj)
.then((res) => {
.then(async(res) => {
message.destroy();
message.success("提交成功");
updateTask(res);
await updateTask(res);
closeDrawer();
})
.catch(() => {});
} else {
api
.createLiveBroadcast(state.obj)
.then((res) => {
.then(async(res) => {
message.destroy();
message.success("提交成功");
updateTask(res);
await updateTask(res);
closeDrawer();
})
.catch(() => {});