From 6cb08cf458ec0c2388e1bba026bc2f3a250b187d Mon Sep 17 00:00:00 2001 From: roymondchen Date: Thu, 17 Jul 2025 17:22:11 +0800 Subject: [PATCH] =?UTF-8?q?style(vue-runtime-help):=20=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runtime/vue-runtime-help/src/hooks/use-dsl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/vue-runtime-help/src/hooks/use-dsl.ts b/runtime/vue-runtime-help/src/hooks/use-dsl.ts index 423f04e8..b815e4c0 100644 --- a/runtime/vue-runtime-help/src/hooks/use-dsl.ts +++ b/runtime/vue-runtime-help/src/hooks/use-dsl.ts @@ -4,7 +4,7 @@ import type TMagicApp from '@tmagic/core'; import type { ChangeEvent, Id, MNode } from '@tmagic/core'; import { isPage, isPageFragment, replaceChildNode } from '@tmagic/core'; -export const useDsl = (app = inject('app'), pageFragmentConstainerId: Id) => { +export const useDsl = (app = inject('app'), pageFragmentConstainerId?: Id) => { if (!app) { throw new Error('useDsl must be used after MagicApp is created'); }