mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 12:49:04 +08:00
fix: treeGraph.removeChild should not generate an undo record
This commit is contained in:
parent
8eed8a514f
commit
e4c0d6ffb3
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user