diff --git a/packages/core/client/src/schema-initializer/utils.ts b/packages/core/client/src/schema-initializer/utils.ts index 5dcbbc6d3..f943883bf 100644 --- a/packages/core/client/src/schema-initializer/utils.ts +++ b/packages/core/client/src/schema-initializer/utils.ts @@ -84,9 +84,7 @@ export const useTableColumnInitializerFields = () => { 'x-collection-field': `${name}.${field.name}`, 'x-component': 'CollectionField', 'x-read-pretty': true, - 'x-component-props': { - mode: 'links', - }, + 'x-component-props': {}, }; // interfaceConfig?.schemaInitialize?.(schema, { field, readPretty: true, block: 'Table' }); return { @@ -210,9 +208,7 @@ export const useFormItemInitializerFields = (options?: any) => { 'x-component': field.interface === 'o2m' && !snapshot ? 'TableField' : 'CollectionField', 'x-decorator': 'FormItem', 'x-collection-field': `${name}.${field.name}`, - 'x-component-props': { - mode: 'links', - }, + 'x-component-props': {}, 'x-read-pretty': field?.uiSchema?.['x-read-pretty'], }; // interfaceConfig?.schemaInitialize?.(schema, { field, block: 'Form', readPretty: form.readPretty });