Commit 871020b6 authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

Fix menu display problem under mobile phone

parent bbb44ba8
...@@ -234,6 +234,7 @@ class BasicLayout extends React.PureComponent { ...@@ -234,6 +234,7 @@ class BasicLayout extends React.PureComponent {
theme={navTheme} theme={navTheme}
onCollapse={this.handleMenuCollapse} onCollapse={this.handleMenuCollapse}
menuData={menuData} menuData={menuData}
isMobile={isMobile}
{...this.props} {...this.props}
/> />
)} )}
...@@ -247,6 +248,7 @@ class BasicLayout extends React.PureComponent { ...@@ -247,6 +248,7 @@ class BasicLayout extends React.PureComponent {
menuData={menuData} menuData={menuData}
handleMenuCollapse={this.handleMenuCollapse} handleMenuCollapse={this.handleMenuCollapse}
logo={logo} logo={logo}
isMobile={isMobile}
{...this.props} {...this.props}
/> />
<Content style={this.getContentStyle()}>{children}</Content> <Content style={this.getContentStyle()}>{children}</Content>
......
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