diff --git a/packages/plugins/@nocobase/plugin-file-manager/src/client/interfaces/attachment.ts b/packages/plugins/@nocobase/plugin-file-manager/src/client/interfaces/attachment.ts index 0213469f2..3967b36ee 100644 --- a/packages/plugins/@nocobase/plugin-file-manager/src/client/interfaces/attachment.ts +++ b/packages/plugins/@nocobase/plugin-file-manager/src/client/interfaces/attachment.ts @@ -11,6 +11,7 @@ export class AttachmentFieldInterface extends CollectionFieldInterface { isAssociation = true; default = { type: 'belongsToMany', + target: 'attachments', // name, uiSchema: { type: 'array',