mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +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()
|
this.__dataHelper.getInitData()
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
if (isEmpty(res)) {
|
if (isEmpty(res)) {
|
||||||
this.forceUpdate();
|
|
||||||
return resolve({});
|
return resolve({});
|
||||||
}
|
}
|
||||||
this.setState(res, resolve as () => void);
|
this.setState(res, resolve as () => void);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user