我有 2 个组件。文件夹和块。 对于每个文件夹,都有一组块。
<evrideo-blocks-folder *ngFor="let folder of blocks_folders; let i=index" dragula="BLOCKS" [(dragulaModel)]="blocks_folders.folder">
</evrideo-blocks-folder>
<evrideo-block *ngFor="let block of block_details; let i=index" dragula="BLOCKS" [(dragulaModel)]="block_details"></evrideo-block>
我想将块拖入 folder.blocks 数组而不是文件夹