mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
添加任务列表刷新问题
This commit is contained in:
@@ -727,8 +727,8 @@ export default {
|
||||
if (props.edit) {
|
||||
// 编辑任务
|
||||
updateExamination(obj)
|
||||
.then((res) => {
|
||||
updateTask(res);
|
||||
.then(async(res) => {
|
||||
await updateTask(res);
|
||||
closeDrawer();
|
||||
})
|
||||
.catch(() => {
|
||||
@@ -737,8 +737,8 @@ export default {
|
||||
} else {
|
||||
// 创建任务
|
||||
createExamination(obj)
|
||||
.then((res) => {
|
||||
updateTask(res);
|
||||
.then(async(res) => {
|
||||
await updateTask(res);
|
||||
closeDrawer();
|
||||
})
|
||||
.catch(() => {
|
||||
|
||||
Reference in New Issue
Block a user