diff --git a/src/views/index.vue b/src/views/index.vue index 493ea45..142a335 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1629,12 +1629,11 @@ const handleObstacle2 = () => { description: dialog3Form.value.description, FodAirId: form1.value.region1 }).then(e => { - // delShildData(e.row).then(e => { - // getShildTableList() - // }) - getShildTableList() - getObstacleList() - dialog3.value = false + delShildData(e.row).then(e => { + getShildTableList() + getObstacleList() + dialog3.value = false + }) }) } const table3Ref = ref() @@ -1666,6 +1665,7 @@ const batchDisposal2 = () => { description: '', FodAirId: form1.value.region1 })) + promiseArr.push(delShildData(row)) }) Promise.allSettled(promiseArr).then(() => { getShildTableList()