From 3394340fead9b269c543890b75e05e6361ac8fec Mon Sep 17 00:00:00 2001 From: scrin <2277317060@qq.com> Date: Sat, 15 Nov 2025 16:48:03 +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, 4 insertions(+), 2 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index f4ff30c..aaec9fa 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -235,7 +235,7 @@ @@ -1032,7 +1032,9 @@ const dialogImageUrl = ref('') const imgDialog = ref(false) // 删除 const delPoint = (e) => { - tableData1.value.splice((currentPage1.value - 1) * pageSize1.value + e.$index, 1); + let arr = JSON.parse(JSON.stringify(tableData1.value)) + arr.splice((currentPage1.value - 1) * pageSize1.value + e.$index, 1); + tableData1.value = arr ||[] } // 当前页 const currentPage1 = ref(1)