Skip to content

Commit

Permalink
fix: the action of history would not update outline tree
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyJinSS committed Jul 12, 2023
1 parent 0e90ea8 commit 0a70150
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/designer/src/document/document-model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
);
Expand Down

0 comments on commit 0a70150

Please sign in to comment.