diff --git a/packages/core/client/src/schema-component/antd/form-v2/Form.tsx b/packages/core/client/src/schema-component/antd/form-v2/Form.tsx index 2358b4894..30bff23d2 100644 --- a/packages/core/client/src/schema-component/antd/form-v2/Form.tsx +++ b/packages/core/client/src/schema-component/antd/form-v2/Form.tsx @@ -270,7 +270,7 @@ function getSubscriber( field[fieldName] = lastState?.value; //字段隐藏时清空数据 if (fieldName === 'display' && lastState?.value === 'none') { - field.value = undefined; + field.value = null; } }