fix: treeGraph.removeChild should not generate an undo record

This commit is contained in:
withoutmeat 2021-06-18 16:25:09 +08:00 committed by Yanyan Wang
parent 8eed8a514f
commit e4c0d6ffb3

View File

@ -225,7 +225,7 @@ export default class TreeGraph extends Graph implements ITreeGraph {
node.set('originAttrs', { x: model.x, y: model.y });
self.get('removeList').push(node);
} else {
self.removeItem(node);
self.removeItem(node, false);
}
}