From d3704f680746b8f73868a3e3b0b749e29f240cea Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Tue, 16 Jan 2024 15:58:18 +0800 Subject: [PATCH] fix: assciation field in sub-table should support enable link when readOnly or readPrety (#3390) --- .../schema-component/antd/table-v2/Table.Column.Designer.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/core/client/src/schema-component/antd/table-v2/Table.Column.Designer.tsx b/packages/core/client/src/schema-component/antd/table-v2/Table.Column.Designer.tsx index 099e4f938..7bcb76982 100644 --- a/packages/core/client/src/schema-component/antd/table-v2/Table.Column.Designer.tsx +++ b/packages/core/client/src/schema-component/antd/table-v2/Table.Column.Designer.tsx @@ -89,7 +89,6 @@ export const TableColumnDesigner = (props) => { readOnlyMode = 'read-pretty'; } const isSelectFieldMode = isAssociationField && fieldMode === 'Select'; - return ( { collectionField?.interface, ) && !isFileField && - readOnlyMode === 'read-pretty' && ( + (readOnlyMode === 'read-pretty' || field.readPretty || field.readOnly) && (