mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-13 01:21:58 +00:00
Merge branch 'fix/rax-page-render' into 'release/1.0.46'
修复 Rax 模拟器 PageRender 未正确传递 context 导致 Rax 组件无法渲染的问题 RT fix #103421 See merge request !1233905
This commit is contained in:
commit
fb0e7386fe
@ -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 });
|
||||
}));
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user