mirror of
https://gitee.com/antv/g6.git
synced 2024-12-03 04:08:32 +08:00
fix: drag node push stack when enableStack is true
This commit is contained in:
parent
73be2a0e01
commit
2378d4eac9
@ -187,7 +187,9 @@ export default {
|
||||
}
|
||||
|
||||
// 拖动结束后,入栈
|
||||
graph.pushStack('update', clone(graph.save()))
|
||||
if (graph.get('enabledStack')) {
|
||||
graph.pushStack('update', clone(graph.save()))
|
||||
}
|
||||
|
||||
this.point = {};
|
||||
this.origin = null;
|
||||
|
Loading…
Reference in New Issue
Block a user