Skip to content

Commit e64d7db

Browse files
committed
fix(editor):assets.components.concat if alway true
1 parent f6305c2 commit e64d7db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/editor-core/src/editor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export class Editor extends EventEmitter implements IEditor {
167167
...extraNpmInfo,
168168
},
169169
...d,
170-
} || []);
170+
});
171171
});
172172
return;
173173
}
@@ -178,7 +178,7 @@ export class Editor extends EventEmitter implements IEditor {
178178
...extraNpmInfo,
179179
},
180180
...component.components,
181-
} || []);
181+
});
182182
}
183183
}
184184
function setArrayAssets(value: any[], preExportName: string = '', preSubName: string = '') {

0 commit comments

Comments
 (0)