From 2a76f5a0bc27645b844c2563489a831ec35d84b7 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: Mon, 9 Dec 2024 18:10:18 +0800 Subject: [PATCH] =?UTF-8?q?Feat=EF=BC=9A=E6=96=B0=E5=A2=9E=E6=8A=9B?= =?UTF-8?q?=E5=87=BA=E5=91=BD=E4=BB=A4=E6=89=A7=E8=A1=8C=E5=90=8E=E7=9A=84?= =?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/command/Command.js | 1 + 1 file changed, 1 insertion(+) diff --git a/simple-mind-map/src/core/command/Command.js b/simple-mind-map/src/core/command/Command.js index 3e640a71..fc25ec47 100644 --- a/simple-mind-map/src/core/command/Command.js +++ b/simple-mind-map/src/core/command/Command.js @@ -61,6 +61,7 @@ class Command { this.commands[name].forEach(fn => { fn(...args) }) + this.mindMap.emit('afterExecCommand', name, ...args) if ( ['BACK', 'FORWARD', 'SET_NODE_ACTIVE', 'CLEAR_ACTIVE_NODE'].includes( name