From c3ca1a9e3b8a805099f17566140285ec013a3784 Mon Sep 17 00:00:00 2001 From: June <1601745371@qq.com> Date: Thu, 5 Sep 2024 13:24:25 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96=E6=8F=92=E4=BB=B6use?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/Editor.ts | 1 + src/views/home/index.vue | 79 ++++++++++++++++++++-------------------- 2 files changed, 41 insertions(+), 39 deletions(-) diff --git a/packages/core/Editor.ts b/packages/core/Editor.ts index dece38d2..20a80e7a 100644 --- a/packages/core/Editor.ts +++ b/packages/core/Editor.ts @@ -62,6 +62,7 @@ class Editor extends EventEmitter { this._bindingHotkeys(pluginRunTime); this._bindingApis(pluginRunTime); } + return this; } destory() { diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 2f0f6323..80d55c7b 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -1,8 +1,8 @@