diff --git a/packages/core/client/src/collection-manager/interfaces/o2o.tsx b/packages/core/client/src/collection-manager/interfaces/o2o.tsx index ce348cece4..12c136924c 100644 --- a/packages/core/client/src/collection-manager/interfaces/o2o.tsx +++ b/packages/core/client/src/collection-manager/interfaces/o2o.tsx @@ -306,7 +306,7 @@ export class OHOFieldInterface extends CollectionFieldInterface { type: 'string', title: '{{t("Target collection")}}', required: true, - 'x-reactions': ['{{useAsyncDataSource(loadCollections, ["file"])}}'], + 'x-reactions': ['{{useAsyncDataSource(loadCollections)}}'], 'x-decorator': 'FormItem', 'x-component': 'Select', 'x-disabled': '{{ !createOnly }}', diff --git a/packages/plugins/@nocobase/plugin-field-m2m-array/src/client/mbm.ts b/packages/plugins/@nocobase/plugin-field-m2m-array/src/client/mbm.ts index 4ed72a54ee..8d8a0072d5 100644 --- a/packages/plugins/@nocobase/plugin-field-m2m-array/src/client/mbm.ts +++ b/packages/plugins/@nocobase/plugin-field-m2m-array/src/client/mbm.ts @@ -104,7 +104,7 @@ export class MBMFieldInterface extends CollectionFieldInterface { type: 'string', title: '{{t("Target collection")}}', required: true, - 'x-reactions': ['{{useAsyncDataSource(loadCollections, ["file"])}}'], + 'x-reactions': ['{{useAsyncDataSource(loadCollections)}}'], 'x-decorator': 'FormItem', 'x-component': 'Select', 'x-disabled': '{{ !createOnly }}',