mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-11-19 22:28:42 +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[];
|
plugins?: Plugin[];
|
||||||
fillConfig?: (config: FormConfig) => FormConfig;
|
fillConfig?: (config: FormConfig) => FormConfig;
|
||||||
}) => {
|
} = {}) => {
|
||||||
const render = (stage: StageCore) => {
|
const render = (stage: StageCore) => {
|
||||||
injectStyle(stage.renderer.getDocument()!, cssStyle);
|
injectStyle(stage.renderer.getDocument()!, cssStyle);
|
||||||
injectStyle(
|
injectStyle(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user