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

This commit is contained in:
街角小林 2024-08-14 18:35:27 +08:00
parent 1033447b9c
commit 161d9dd715

View File

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