mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-21 10:27:44 +08:00
Feat:新增节点备注图标双击事件
This commit is contained in:
parent
24363d55a4
commit
88a6442539
@ -470,6 +470,9 @@ function createNoteNode() {
|
||||
node.on('click', e => {
|
||||
this.mindMap.emit('node_note_click', this, e, node)
|
||||
})
|
||||
node.on('dblclick', e => {
|
||||
this.mindMap.emit('node_note_dblclick', this, e, node)
|
||||
})
|
||||
return {
|
||||
node,
|
||||
width: iconSize,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user