Feat:新增节点备注图标双击事件

This commit is contained in:
街角小林 2024-12-06 17:40:19 +08:00
parent 24363d55a4
commit 88a6442539

View File

@ -470,6 +470,9 @@ function createNoteNode() {
node.on('click', e => { node.on('click', e => {
this.mindMap.emit('node_note_click', this, e, node) this.mindMap.emit('node_note_click', this, e, node)
}) })
node.on('dblclick', e => {
this.mindMap.emit('node_note_dblclick', this, e, node)
})
return { return {
node, node,
width: iconSize, width: iconSize,