mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-12 08:58:15 +00:00
fix: fix rax page-render missing context
This commit is contained in:
parent
f84ec7e72e
commit
d7de766c1f
@ -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