mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 19:52:51 +00:00
fix: fixed an issue where materials would be rendered multiple times
This commit is contained in:
parent
3e6cfa055c
commit
9d187ccb7d
@ -349,7 +349,6 @@ export default function baseRendererFactory(): IBaseRenderComponent {
|
||||
this.__dataHelper.getInitData()
|
||||
.then((res: any) => {
|
||||
if (isEmpty(res)) {
|
||||
this.forceUpdate();
|
||||
return resolve({});
|
||||
}
|
||||
this.setState(res, resolve as () => void);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user