diff --git a/packages/core/client/src/schema-component/antd/table-v2/Table.tsx b/packages/core/client/src/schema-component/antd/table-v2/Table.tsx index 62a9d5687f..db6533331b 100644 --- a/packages/core/client/src/schema-component/antd/table-v2/Table.tsx +++ b/packages/core/client/src/schema-component/antd/table-v2/Table.tsx @@ -539,11 +539,12 @@ export const Table: any = withDynamicSchemaProps( return ( - {inView || isIndex ? props.children : } + {/* 子表单中不能使用懒渲染。详见:https://nocobase.height.app/T-4889/description */} + {others.isSubTable || inView || isIndex ? props.children : } ); }, - [dataSource.length], + [dataSource.length, others.isSubTable], ); const components = useMemo(() => {