From 59716e909bbf4cb8e24a43ae9fb5e20a0cefd681 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Fri, 24 Apr 2026 16:23:11 +0800 Subject: [PATCH] chore(vue-runtime-help): release v2.0.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit useEditorDsl 返回 root 以便外部访问根节点 Made-with: Cursor --- runtime/vue-runtime-help/package.json | 2 +- runtime/vue-runtime-help/src/hooks/use-editor-dsl.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/vue-runtime-help/package.json b/runtime/vue-runtime-help/package.json index 9490b05c..eb4f600c 100644 --- a/runtime/vue-runtime-help/package.json +++ b/runtime/vue-runtime-help/package.json @@ -1,5 +1,5 @@ { - "version": "2.0.2", + "version": "2.0.3", "name": "@tmagic/vue-runtime-help", "type": "module", "sideEffects": false, diff --git a/runtime/vue-runtime-help/src/hooks/use-editor-dsl.ts b/runtime/vue-runtime-help/src/hooks/use-editor-dsl.ts index 85a24d64..bb74823f 100644 --- a/runtime/vue-runtime-help/src/hooks/use-editor-dsl.ts +++ b/runtime/vue-runtime-help/src/hooks/use-editor-dsl.ts @@ -161,6 +161,7 @@ export const useEditorDsl = (app = inject('app'), runtimeApi: Runtime }); return { + root, pageConfig, app, };