Commit d00000d7 authored by 前端-许佳敏's avatar 前端-许佳敏

fix: noMargin布局问题

parent ca4f62ae
......@@ -171,7 +171,7 @@ const BasicLayout: React.FC<BasicLayoutProps> = (props) => {
collapsed={collapsed}
collapsedButtonRender={(flag) => (DEFAULT_COLLAPSED_LIST.includes(location.pathname) ? null : flag ? <MenuUnfoldOutlined /> : <MenuFoldOutlined />)}
onCollapse={handleMenuCollapse}
disableContentMargin={currentRouter?.noMargin != undefined}
disableContentMargin={currentRouter?.noMargin !== false}
breadcrumbRender={(routers = []) => [
]}
......
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