From 698c6adbcee689b214d4c78b9a1e31f1ddd1a8d8 Mon Sep 17 00:00:00 2001 From: scrin <2277317060@qq.com> Date: Sun, 16 Nov 2025 10:33:47 +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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/index.vue b/src/views/index.vue index d6a47e9..e3c39ef 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -1035,10 +1035,10 @@ const delPoint = (e) => { let arr = JSON.parse(JSON.stringify(tableData1.value)) arr.splice((currentPage1.value - 1) * pageSize1.value + e.$index, 1); tableData1.value = arr || [] - if ((currentPage1.value - 1) * pageSize1.value + e.$index === dotIndex.value) { - console.log(123) - dotIndex.value = -1 - } + console.log(e.index) + console.log(dotIndex.value) + dotIndexF((currentPage1.value - 1) * pageSize1.value + e.$index) + console.log(dotIndex.value) } // 当前页 const currentPage1 = ref(1)