diff --git a/packages/designer/src/document/document-model.ts b/packages/designer/src/document/document-model.ts index 9521fef38..7af087ea8 100644 --- a/packages/designer/src/document/document-model.ts +++ b/packages/designer/src/document/document-model.ts @@ -336,6 +336,9 @@ export class DocumentModel implements IDocumentModel { (schema) => { this.import(schema as IPublicTypeRootSchema, true); this.simulator?.rerender(); + this.designer.editor?.eventBus.emit(EDITOR_EVENT.NODE_CHILDREN_CHANGE, { + node: this.rootNode, + }); }, this, );