From 747910f48254c94683d60fa4a3f8520c6b879c18 Mon Sep 17 00:00:00 2001 From: Zeke Zhang <958414905@qq.com> Date: Mon, 22 Jul 2024 20:10:00 +0800 Subject: [PATCH] Revert "fix(subTable): ensure real-time update of formula field values" This reverts commit 9c9177f8482798c9226583dde007091476d47431. --- .../core/client/src/schema-component/antd/table-v2/Table.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 db6533331b..62a9d5687f 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,12 +539,11 @@ export const Table: any = withDynamicSchemaProps( return ( - {/* 子表单中不能使用懒渲染。详见:https://nocobase.height.app/T-4889/description */} - {others.isSubTable || inView || isIndex ? props.children : } + {inView || isIndex ? props.children : } ); }, - [dataSource.length, others.isSubTable], + [dataSource.length], ); const components = useMemo(() => {