From ed28b42e56ab5e7f1aa79b64523b8944e9ad3dbd Mon Sep 17 00:00:00 2001 From: Cano1997 <1978141412@qq.com> Date: Wed, 30 Jul 2025 20:04:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=87=8D=E5=A4=8D=E5=99=A8=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E4=B8=AD=E9=9A=90=E8=97=8F=E8=A1=A8=E5=8D=95=E9=A1=B9?= =?UTF-8?q?=E4=B8=8D=E7=BB=98=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 4 ++++ .../form-mdctrl-repeater/repeater-grid/repeater-grid.tsx | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6040a5cea..a8ba57a6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,10 @@ - 修复泳道看板快速操作栏和批操作栏异常 +### Changed + +- 重复器表格中隐藏表单项不绘制 + ## [0.7.41-alpha.15] - 2025-07-27 ### Added diff --git a/src/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.tsx b/src/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.tsx index aac45a978..c4e2221e8 100644 --- a/src/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.tsx +++ b/src/control/form/form-detail/form-mdctrl/form-mdctrl-repeater/repeater-grid/repeater-grid.tsx @@ -38,7 +38,10 @@ export const RepeaterGrid: ReturnType = defineComponent( props.controller.repeatedForm, (item: IDEFormDetail) => { if (item.detailType === 'FORMITEM') { - formItems.push(item); + // 隐藏表单项不绘制 + if ((item as IDEFormItem).editor?.editorType !== 'HIDDEN') { + formItems.push(item); + } } }, { -- Gitee