From 8cf3c40ad4aa796f5541f9c6d36162fbfbaab86f Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Tue, 16 May 2023 09:20:45 +0800 Subject: [PATCH] fix: insertAdjacent not find (#1861) --- .../client/src/schema-component/antd/form-item/FormItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/schema-component/antd/form-item/FormItem.tsx b/packages/core/client/src/schema-component/antd/form-item/FormItem.tsx index a8d365d03..a64a24c55 100644 --- a/packages/core/client/src/schema-component/antd/form-item/FormItem.tsx +++ b/packages/core/client/src/schema-component/antd/form-item/FormItem.tsx @@ -115,7 +115,7 @@ FormItem.Designer = function Designer() { const field = useField(); const fieldSchema = useFieldSchema(); const { t } = useTranslation(); - const { dn, refresh } = useDesignable(); + const { dn, refresh, insertAdjacent } = useDesignable(); const compile = useCompile(); const variablesCtx = useVariablesCtx(); const IsShowMultipleSwitch = useIsShowMultipleSwitch();