mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-09-25 18:32:09 +08:00
fix(tmagic-form-runtime): useRuntime添加默认参数
This commit is contained in:
parent
6821ce5fbf
commit
1b3c598a66
@ -22,7 +22,7 @@ export const useRuntime = ({
|
||||
}: {
|
||||
plugins?: Plugin[];
|
||||
fillConfig?: (config: FormConfig) => FormConfig;
|
||||
}) => {
|
||||
} = {}) => {
|
||||
const render = (stage: StageCore) => {
|
||||
injectStyle(stage.renderer.getDocument()!, cssStyle);
|
||||
injectStyle(
|
||||
|
Loading…
x
Reference in New Issue
Block a user