From a8fe3cea3d7e344bb128f6c818560d313fd60c9f Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 17 Jun 2024 11:33:18 +0800 Subject: [PATCH] =?UTF-8?q?SearchTable=E9=80=89=E6=8B=A9=E5=BD=93=E9=A1=B5?= =?UTF-8?q?bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Table/src/Table.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/Table/src/Table.vue b/src/components/Table/src/Table.vue index 69c830156..66d3e644e 100644 --- a/src/components/Table/src/Table.vue +++ b/src/components/Table/src/Table.vue @@ -136,7 +136,9 @@ export default defineComponent({ if(isAll){ //全选 if(elTableRef.value?.getSelectionRows().length{ + elTableRef.value!.toggleRowSelection(row,true) + }) } } }