fix: association field cannot enable link in table column (#2066)
* fix: association field cannot enable link in table column * refactor: code improve
This commit is contained in:
parent
e5bab3249a
commit
e3045a2f9a
@ -161,6 +161,7 @@ const InternalFileManager = (props) => {
|
||||
modalProps: {
|
||||
getContainer: others?.getContainer,
|
||||
},
|
||||
formValueChanged: false,
|
||||
}}
|
||||
>
|
||||
<RecordPickerProvider {...pickerProps}>
|
||||
|
@ -136,7 +136,7 @@ export const TableColumnDesigner = (props) => {
|
||||
collectionField?.interface,
|
||||
) &&
|
||||
!isFileField &&
|
||||
field.readPrety && (
|
||||
readOnlyMode === 'read-pretty' && (
|
||||
<SchemaSettings.SwitchItem
|
||||
title={t('Enable link')}
|
||||
checked={fieldSchema['x-component-props']?.enableLink !== false}
|
||||
|
Loading…
Reference in New Issue
Block a user