From 871020b6c2c94b874e1b25c4e7bf1df2a679f988 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Sun, 2 Sep 2018 18:15:30 +0800 Subject: [PATCH] Fix menu display problem under mobile phone --- src/layouts/BasicLayout.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/layouts/BasicLayout.js b/src/layouts/BasicLayout.js index 288f0424..73e06b64 100644 --- a/src/layouts/BasicLayout.js +++ b/src/layouts/BasicLayout.js @@ -234,6 +234,7 @@ class BasicLayout extends React.PureComponent { theme={navTheme} onCollapse={this.handleMenuCollapse} menuData={menuData} + isMobile={isMobile} {...this.props} /> )} @@ -247,6 +248,7 @@ class BasicLayout extends React.PureComponent { menuData={menuData} handleMenuCollapse={this.handleMenuCollapse} logo={logo} + isMobile={isMobile} {...this.props} /> {children} -- GitLab