From e3045a2f9aa13bf19bdbbf6cff5c8ccecba9822f Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Sat, 17 Jun 2023 09:01:35 +0800 Subject: [PATCH] fix: association field cannot enable link in table column (#2066) * fix: association field cannot enable link in table column * refactor: code improve --- .../src/schema-component/antd/association-field/FileManager.tsx | 1 + .../schema-component/antd/table-v2/Table.Column.Designer.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/client/src/schema-component/antd/association-field/FileManager.tsx b/packages/core/client/src/schema-component/antd/association-field/FileManager.tsx index c22ee6d236..7cf1ddcc14 100644 --- a/packages/core/client/src/schema-component/antd/association-field/FileManager.tsx +++ b/packages/core/client/src/schema-component/antd/association-field/FileManager.tsx @@ -161,6 +161,7 @@ const InternalFileManager = (props) => { modalProps: { getContainer: others?.getContainer, }, + formValueChanged: false, }} > 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 60e1c5369c..93a7f44281 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 @@ -136,7 +136,7 @@ export const TableColumnDesigner = (props) => { collectionField?.interface, ) && !isFileField && - field.readPrety && ( + readOnlyMode === 'read-pretty' && (