Commit 5d52e345 authored by 崔佳豪's avatar 崔佳豪

fix: 修复引导页路由跳转

parent 0cef7935
Pipeline #57405 passed with stages
......@@ -13,8 +13,7 @@ const BootPageTemplate = {
default: PandaBootPage,
};
const BootPage = () => {
const BootPage = props => {
const [info, setInfo] = useState({
first: true,
loading: true,
......@@ -46,9 +45,7 @@ const BootPage = () => {
}, []);
return (
<SecurityLayout>
{ info.loading ? <Spin/> : info.error ? <Empty/> : <RenderComponent/> }
</SecurityLayout>
<SecurityLayout>{info.loading ? <Spin /> : info.error ? <Empty /> : <RenderComponent {...props} />}</SecurityLayout>
);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment