mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-27 20:30:28 +00:00
feat: 透出loading
This commit is contained in:
parent
84642355d4
commit
e96934ae4c
@ -38,6 +38,6 @@ export default class LazyComponent extends Component<IProps, IState> {
|
|||||||
// loading扩展点
|
// loading扩展点
|
||||||
return createElement(Loading);
|
return createElement(Loading);
|
||||||
}
|
}
|
||||||
return createElement(Renderer as any, { schema, ...restProps });
|
return createElement(Renderer as any, { schema, loading: Loading ? createElement(Loading) : null, ...restProps });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user