From d206d6dd99fa2a0e5a01e30f07585fd6f6a51cb9 Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Thu, 24 Aug 2023 18:02:58 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A=E4=BF=AE=E5=A4=8DmindMap.export?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E4=BB=A3=E7=A0=81=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simple-mind-map/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple-mind-map/index.js b/simple-mind-map/index.js index 5878bccd..f95a51e4 100644 --- a/simple-mind-map/index.js +++ b/simple-mind-map/index.js @@ -291,7 +291,7 @@ class MindMap { let result = await this.doExport.export(...args) return result } catch (error) { - this.mindMap.opt.errorHandler(ERROR_TYPES.EXPORT_ERROR, error) + this.opt.errorHandler(ERROR_TYPES.EXPORT_ERROR, error) } }