From 88a64425393ead1882f59fb62d472985544769b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=97=E8=A7=92=E5=B0=8F=E6=9E=97?= <1013335014@qq.com> Date: Fri, 6 Dec 2024 17:40:19 +0800 Subject: [PATCH] =?UTF-8?q?Feat=EF=BC=9A=E6=96=B0=E5=A2=9E=E8=8A=82?= =?UTF-8?q?=E7=82=B9=E5=A4=87=E6=B3=A8=E5=9B=BE=E6=A0=87=E5=8F=8C=E5=87=BB?= =?UTF-8?q?=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simple-mind-map/src/core/render/node/nodeCreateContents.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/simple-mind-map/src/core/render/node/nodeCreateContents.js b/simple-mind-map/src/core/render/node/nodeCreateContents.js index d6e425bd..9c1e8da5 100644 --- a/simple-mind-map/src/core/render/node/nodeCreateContents.js +++ b/simple-mind-map/src/core/render/node/nodeCreateContents.js @@ -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,