Merge branch 'release/1.0.46' of gitlab.alibaba-inc.com:ali-lowcode/ali-lowcode-engine into release/1.0.46

This commit is contained in:
力皓 2021-04-25 14:02:58 +08:00
commit b2e1831b5b

View File

@ -27,7 +27,10 @@ export default function raxPageRendererFactory() {
return that.__renderContextConsumer(children);
}
return that.__renderContent(that.__renderContextProvider({ pageContext: that }));
return that.__renderContent(that.__renderContextConsumer((context) => {
that.context = context;
return that.__renderContextProvider({ pageContext: that });
}));
}
};
}