fix(rax-render): hidden无效

This commit is contained in:
rorya.lyj 2020-08-12 21:05:57 +08:00
parent 8647ade39d
commit 08a3e36a67

View File

@ -241,6 +241,10 @@ export default class BaseEngine extends Component {
if (!isSchema(schema)) return null;
let Comp = components[schema.componentName] || engine.getNotFoundComponent();
if (schema.hidden) {
return null;
}
if (schema.loop !== undefined) {
return this.__createLoopVirtualDom(
{