From be3a900e6a132751f3b1d59c06b850c00604ee15 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Fri, 5 Jun 2026 17:27:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(editor):=20=E4=BF=AE=E5=A4=8D=E5=8E=86?= =?UTF-8?q?=E5=8F=B2=E5=AF=B9=E6=AF=94=E5=B1=9E=E6=80=A7=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=B8=8A=E4=B8=8B=E6=96=87=E7=BC=BA=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/editor/src/components/CompareForm.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/editor/src/components/CompareForm.vue b/packages/editor/src/components/CompareForm.vue index f83a29f1..893fae9e 100644 --- a/packages/editor/src/components/CompareForm.vue +++ b/packages/editor/src/components/CompareForm.vue @@ -180,7 +180,9 @@ const defaultLoadConfig = async (): Promise => { if (!props.type) { return []; } - return removeStyleDisplayConfig(await propsService.getPropsConfig(props.type)); + return removeStyleDisplayConfig( + await propsService.getPropsConfig(props.type, { node: props.value as unknown as MNode }), + ); } case 'data-source': { return dataSourceService.getFormConfig(props.type || 'base');