qinyan 1 жил өмнө
parent
commit
4aeac8de6a

+ 1 - 0
src/modules/editor/module/actions/edit.tsx

@@ -1036,6 +1036,7 @@ export const editActions = EditorModule.action({
 
     const sels = gizmo.selected.map(item=>item.comp.id);
     const id = this.controls.compUICtrl.createCompId("Group");
+    page.setCompPid(id, page.currStreamCardId);
     const comp = this.helper.findComp(id) as DesignComp;
     const chils = this.controls.pageCtrl.currStreamCard.children.default || [];
     const newChilds: any = [];