From 612d675a1947ac7d035d2387ea42f2d5f2f0e7ef Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Thu, 14 Sep 2023 09:16:50 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E6=8F=92=E4=BB=B6=E7=9A=84=E6=96=B9=E6=B3=95=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=8E=BB=E9=87=8D=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simple-mind-map/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/simple-mind-map/index.js b/simple-mind-map/index.js index 26715799..e1556230 100644 --- a/simple-mind-map/index.js +++ b/simple-mind-map/index.js @@ -448,6 +448,7 @@ class MindMap { // 插件列表 MindMap.pluginList = [] MindMap.usePlugin = (plugin, opt = {}) => { + if (MindMap.hasPlugin(plugin) !== -1) return plugin.pluginOpt = opt MindMap.pluginList.push(plugin) return MindMap