From 1b3c598a663499491e1ee44792771ea3703753b3 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Fri, 1 Mar 2024 15:19:28 +0800 Subject: [PATCH] =?UTF-8?q?fix(tmagic-form-runtime):=20useRuntime=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E9=BB=98=E8=AE=A4=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runtime/tmagic-form/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/tmagic-form/src/index.ts b/runtime/tmagic-form/src/index.ts index 72465dc6..1c5bf636 100644 --- a/runtime/tmagic-form/src/index.ts +++ b/runtime/tmagic-form/src/index.ts @@ -22,7 +22,7 @@ export const useRuntime = ({ }: { plugins?: Plugin[]; fillConfig?: (config: FormConfig) => FormConfig; -}) => { +} = {}) => { const render = (stage: StageCore) => { injectStyle(stage.renderer.getDocument()!, cssStyle); injectStyle(