From 89747403a2c16314746c952665569aa9335425d4 Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Tue, 19 Aug 2025 13:59:28 +0800 Subject: [PATCH] =?UTF-8?q?JVxeTable=E7=BB=84=E4=BB=B6=E5=85=A8=E9=80=89?= =?UTF-8?q?=E7=BF=BB=E9=A1=B5=E5=90=8E=E4=BC=9A=E8=A2=AB=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E9=80=89=E4=B8=AD=20#8630?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/jeecg/JVxeTable/src/hooks/useData.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/jeecgboot-vue3/src/components/jeecg/JVxeTable/src/hooks/useData.ts b/jeecgboot-vue3/src/components/jeecg/JVxeTable/src/hooks/useData.ts index 38f3f2938..985258da6 100644 --- a/jeecgboot-vue3/src/components/jeecg/JVxeTable/src/hooks/useData.ts +++ b/jeecgboot-vue3/src/components/jeecg/JVxeTable/src/hooks/useData.ts @@ -54,8 +54,16 @@ export function useData(props: JVxeTableProps): JVxeDataProps { // 暂时关闭左右虚拟滚动 enabled: false, }, - radioConfig: { highlight: true }, - checkboxConfig: { highlight: true }, + radioConfig: { + // 保留勾选状态 + reserve: true, + highlight: true, + }, + checkboxConfig: { + // 保留勾选状态 + reserve: true, + highlight: true, + }, mouseConfig: { selected: false }, keyboardConfig: { // 删除键功能