qinyan 1 年之前
父節點
當前提交
4aeac8de6a
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/modules/editor/module/actions/edit.tsx

+ 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 = [];