Commit 961413d5 authored by lihonglin's avatar lihonglin
parents b99b8c0b 5d52e345
Pipeline #57416 passed with stages
......@@ -660,4 +660,6 @@
padding-left: 30px!important;
}
\ No newline at end of file
:global(.@{ant-prefix}-pro-sider-fixed) {
width: 100%;
}
\ No newline at end of file
......@@ -13,8 +13,7 @@ const BootPageTemplate = {
default: PandaBootPage,
};
const BootPage = () => {
const BootPage = props => {
const [info, setInfo] = useState({
first: true,
loading: true,
......@@ -35,7 +34,7 @@ const BootPage = () => {
setInfo({ first: false, loading: false, error: true });
return;
}
if (data === null) notification.info({ message: '提示', duration: 3, description: '未配置系统引导页' });
// if (data === null) notification.info({ message: '提示', duration: 3, description: '未配置系统引导页' });
setTemplate(data);
setInfo({ first: false, loading: false, error: false });
})
......@@ -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