mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-16 15:01:15 +00:00
Merge remote-tracking branch 'origin/develop' into release/1.2.4-beta
This commit is contained in:
commit
ee1323bc92
@ -462,6 +462,9 @@ export class NodeChildren implements INodeChildren {
|
|||||||
const node: INode = this.owner.document?.createNode(child);
|
const node: INode = this.owner.document?.createNode(child);
|
||||||
this.children.push(node);
|
this.children.push(node);
|
||||||
node.internalSetParent(this.owner);
|
node.internalSetParent(this.owner);
|
||||||
|
/* istanbul ignore next */
|
||||||
|
const editor = node.document?.designer.editor;
|
||||||
|
editor?.eventBus.emit('node.add', { node });
|
||||||
});
|
});
|
||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user