From 3e3bfdb45d0e657e5804c6ea58159253aede2f35 Mon Sep 17 00:00:00 2001 From: allenve Date: Thu, 29 Jun 2023 10:06:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20disabled=20static=20=E5=A4=B1=E6=95=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-core/src/utils/helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amis-core/src/utils/helper.ts b/packages/amis-core/src/utils/helper.ts index 68cc97f56..0a9cb5725 100644 --- a/packages/amis-core/src/utils/helper.ts +++ b/packages/amis-core/src/utils/helper.ts @@ -1406,7 +1406,7 @@ export function chainEvents(props: any, schema: any) { ret[key] = chainFunctions(schema[key], props[key]); } } else { - ret[key] = props[key]; + ret[key] = props[key] ?? schema[key]; } });