refactor: tree collection association support sub-table & sub-detail (#4225)

This commit is contained in:
katherinehhh 2024-04-30 09:49:57 +08:00 committed by GitHub
parent afa3e94aa0
commit 35825ac77b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,8 @@ export const useFieldModeOptions = (props?) => {
? [ ? [
{ label: t('Title'), value: 'Select' }, { label: t('Title'), value: 'Select' },
{ label: t('Tag'), value: 'Tag' }, { label: t('Tag'), value: 'Tag' },
!isTableField && { label: t('Sub-details'), value: 'Nester' },
!isTableField && { label: t('Sub-table'), value: 'SubTable' },
] ]
: [ : [
{ label: t('Select'), value: 'Select' }, { label: t('Select'), value: 'Select' },