From b8cde582bdbd4915b83e736307e29c09932a4028 Mon Sep 17 00:00:00 2001 From: jinye Date: Fri, 6 Dec 2024 15:16:41 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A1=A8=E5=8D=95=E9=A1=B9=E9=9D=99?= =?UTF-8?q?=E6=80=81=E5=B1=95=E7=A4=BA=E4=B8=8D=E5=BA=94=E8=AF=A5=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E8=8E=B7=E5=8F=96=E5=B1=95=E7=A4=BA=E7=88=B6=E7=BA=A7?= =?UTF-8?q?value?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis/src/renderers/Form/StaticHoc.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/amis/src/renderers/Form/StaticHoc.tsx b/packages/amis/src/renderers/Form/StaticHoc.tsx index 8eaf55b0957..d075be1c7d0 100644 --- a/packages/amis/src/renderers/Form/StaticHoc.tsx +++ b/packages/amis/src/renderers/Form/StaticHoc.tsx @@ -108,7 +108,11 @@ export function supportStatic() { } = props; let body; - const displayValue = getPropValue(props); + const displayValue = getPropValue( + props, + undefined, + props.canAccessSuperData ?? false + ); const isValueEmpty = displayValue == null || displayValue === ''; if (