Fix:修复node_dragging事件回参里没有node实例的问题

This commit is contained in:
街角小林
2023-12-26 11:50:00 +08:00
parent d4fc37fc98
commit b7cb52b703

View File

@@ -112,7 +112,7 @@ class Drag extends Base {
) {
return
}
this.mindMap.emit('node_dragging')
this.mindMap.emit('node_dragging', this.mousedownNode)
this.handleStartMove()
this.onMove(x, y, e)
}