mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
添加任务列表刷新问题
This commit is contained in:
@@ -304,9 +304,9 @@ export default {
|
||||
};
|
||||
if (props.EditWorkId > 0) {
|
||||
updateWorkTaskUsing(obj)
|
||||
.then((res) => {
|
||||
.then(async(res) => {
|
||||
// console.log("添加成功", res);
|
||||
updateTask(res);
|
||||
await updateTask(res);
|
||||
ctx.emit("changeData", false);
|
||||
closeDrawer();
|
||||
})
|
||||
@@ -316,9 +316,9 @@ export default {
|
||||
});
|
||||
} else {
|
||||
createWorkTask(obj)
|
||||
.then((res) => {
|
||||
.then(async(res) => {
|
||||
console.log("添加成功", res);
|
||||
updateTask(res);
|
||||
await updateTask(res);
|
||||
ctx.emit("changeData", false);
|
||||
closeDrawer();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user