@@ -266,6 +266,7 @@ export class ScreenCtrl extends ModuleControl<EditorModule> {
let childrs = card.children.default || [];
childrs.forEach(item=>{
const c = compMap[item] as DesignComp;
+ if (!c) return;
screenCard.children.push({id: item, size: c.layout.size, matrix: c.layout.transformMatrix as string} );
})
screenCards.push(screenCard);