From 64932bd734ec2b44e6e18860670c4542c5649008 Mon Sep 17 00:00:00 2001 From: lizw-2015 <1183409807@qq.com> Date: Sat, 21 Jun 2025 17:07:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(editor):=20=E4=BF=AE=E5=A4=8D=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=E9=9D=A2=E6=9D=BF=E8=A1=A8=E5=8D=95=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 PropertyPanel 组件中的 formFields 属性绑定从 props.flatten.fields 修改为 group.fields - 这个修改确保了正确的字段配置被传递给表单组件,避免了潜在的字段显示错误问题 --- src/editor/widgets/property/PropertyPanel.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/widgets/property/PropertyPanel.vue b/src/editor/widgets/property/PropertyPanel.vue index a8182ca..bc4b6da 100644 --- a/src/editor/widgets/property/PropertyPanel.vue +++ b/src/editor/widgets/property/PropertyPanel.vue @@ -122,7 +122,7 @@ export type { class="property-panel-form" v-bind="getDefFormProps(group)" :data="state.data" - :formFields="props.flatten.fields" + :formFields="group.fields" @dataChange="onDataChange" />