mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 19:52:51 +00:00
fix: error thrown when triggering undo after save schema on SchemaPane
This commit is contained in:
parent
b4b30a3599
commit
9be46e7b34
@ -3,6 +3,7 @@ import { Node } from './node';
|
||||
import { DocumentModel } from '../document-model';
|
||||
|
||||
function getModalNodes(node: Node) {
|
||||
if (!node) return [];
|
||||
let nodes: any = [];
|
||||
if (node.componentMeta.isModal) {
|
||||
nodes.push(node);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user