From 7019616c3c551171526bc2c2654e34b41387cf7d Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Thu, 21 Dec 2023 14:23:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E6=89=BE=E7=BB=9F=E8=AE=A1=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/tablecmt/tablecmt.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/tablecmt/tablecmt.vue b/src/components/tablecmt/tablecmt.vue index 5088e19d..1ceb2ba6 100644 --- a/src/components/tablecmt/tablecmt.vue +++ b/src/components/tablecmt/tablecmt.vue @@ -490,6 +490,8 @@ const handleSelectionChange = (param: TableDataType[]) => { iterator.value = 0; } + if (selectarr.value.length === 0) return; + for (let index = 0; index < selectarr.value.length; index++) { const val = selectarr.value[index];