fix(tmagic-form-runtime): useRuntime添加默认参数

This commit is contained in:
roymondchen 2024-03-01 15:19:28 +08:00
parent 6821ce5fbf
commit 1b3c598a66

View File

@ -22,7 +22,7 @@ export const useRuntime = ({
}: {
plugins?: Plugin[];
fillConfig?: (config: FormConfig) => FormConfig;
}) => {
} = {}) => {
const render = (stage: StageCore) => {
injectStyle(stage.renderer.getDocument()!, cssStyle);
injectStyle(