mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-06 18:37:07 +00:00
fix: 修复在页面回退操作后, 可以同时展示多个模态框的问题
This commit is contained in:
parent
c2f9c12e41
commit
cd9a991fbb
@ -53,7 +53,7 @@ export class DocumentModel {
|
|||||||
/**
|
/**
|
||||||
* 模态节点管理
|
* 模态节点管理
|
||||||
*/
|
*/
|
||||||
readonly modalNodesManager: ModalNodesManager;
|
private modalNodesManager: ModalNodesManager;
|
||||||
|
|
||||||
private _nodesMap = new Map<string, Node>();
|
private _nodesMap = new Map<string, Node>();
|
||||||
|
|
||||||
@ -369,7 +369,7 @@ export class DocumentModel {
|
|||||||
this.internalRemoveAndPurgeNode(node, true);
|
this.internalRemoveAndPurgeNode(node, true);
|
||||||
});
|
});
|
||||||
this.rootNode?.import(schema as any, checkId);
|
this.rootNode?.import(schema as any, checkId);
|
||||||
|
this.modalNodesManager = new ModalNodesManager(this);
|
||||||
// todo: select added and active track added
|
// todo: select added and active track added
|
||||||
if (drillDownNodeId) {
|
if (drillDownNodeId) {
|
||||||
this.drillDown(this.getNode(drillDownNodeId));
|
this.drillDown(this.getNode(drillDownNodeId));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user