mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-15 02:38:16 +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.__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