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: {
|
modalProps: {
|
||||||
getContainer: others?.getContainer,
|
getContainer: others?.getContainer,
|
||||||
},
|
},
|
||||||
|
formValueChanged: false,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<RecordPickerProvider {...pickerProps}>
|
<RecordPickerProvider {...pickerProps}>
|
||||||
|
@ -136,7 +136,7 @@ export const TableColumnDesigner = (props) => {
|
|||||||
collectionField?.interface,
|
collectionField?.interface,
|
||||||
) &&
|
) &&
|
||||||
!isFileField &&
|
!isFileField &&
|
||||||
field.readPrety && (
|
readOnlyMode === 'read-pretty' && (
|
||||||
<SchemaSettings.SwitchItem
|
<SchemaSettings.SwitchItem
|
||||||
title={t('Enable link')}
|
title={t('Enable link')}
|
||||||
checked={fieldSchema['x-component-props']?.enableLink !== false}
|
checked={fieldSchema['x-component-props']?.enableLink !== false}
|
||||||
|
Loading…
Reference in New Issue
Block a user