提交 c1366eb2 编写于 作者: A afc163

update code style

上级 86a2d26d
......@@ -66,7 +66,6 @@ class BasicLayout extends React.PureComponent {
location: PropTypes.object,
breadcrumbNameMap: PropTypes.object,
}
state = {
isMobile,
};
......@@ -78,9 +77,9 @@ class BasicLayout extends React.PureComponent {
};
}
componentDidMount() {
enquireScreen((b) => {
enquireScreen((mobile) => {
this.setState({
isMobile: !!b,
isMobile: mobile,
});
});
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册