From 0fbd618b5b5db5fe9a118e3388c5caa320690040 Mon Sep 17 00:00:00 2001 From: scrin <2277317060@qq.com> Date: Sun, 16 Nov 2025 10:31:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A0=E9=99=A4=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index 09f3f94..d6a47e9 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1077,6 +1077,7 @@ const handleObstacle = () => { // 批量处理 const table1Ref = ref() const batchDisposal = () => { + dotIndex.value = -1 let datas = table1Ref.value.getSelectionRows() datas.forEach((row) => { InserDealObstacleModel({ @@ -1086,21 +1087,21 @@ const batchDisposal = () => { files: [], findTime: '', }) - dotIndexF(row.index) tableData1.value = tableData1.value.filter(item => row.index !== item.index); }) getShildTableList() } // 批量删除 const batchDel = () => { + dotIndex.value = -1 let datas = table1Ref.value.getSelectionRows() datas.forEach((row) => { - dotIndexF(row.index) tableData1.value = tableData1.value.filter(item => row.index !== item.index); }) } // 批量固定 const batchShild = () => { + dotIndex.value = -1 let datas = table1Ref.value.getSelectionRows() datas.forEach((row) => { addShildData({ @@ -1111,7 +1112,6 @@ const batchShild = () => { deviation: shieldInfoForm.value.deviation, shielding: shieldInfoForm.value.shielding, }) - dotIndexF(row.index) tableData1.value = tableData1.value.filter(item => row.index !== item.index); }) getShildTableList()