From 516619bb04205167fbdc4f70e33726d9e418b795 Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 5 Mar 2024 22:54:20 +0800 Subject: [PATCH] fix(file-manager): missing attachments --- .../plugin-file-manager/src/client/interfaces/attachment.ts | 1 + 1 file changed, 1 insertion(+) 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',