fix: fix unnecessary props calculation

This commit is contained in:
liujuping 2022-03-29 17:27:55 +08:00 committed by LeoYuan 袁力皓
parent aca2f08b77
commit f1fed75f39

View File

@ -30,7 +30,7 @@ export default function componentRendererFactory(): IBaseRenderComponent {
});
this.__render();
const { noContainer } = this.__parseData(__schema.props);
const noContainer = this.__parseData(__schema.props?.noContainer);
if (noContainer) {
return this.__renderContextProvider({ compContext: this });