提交 20bf3264 编写于 作者: N nikogu

fixed get width

上级 cfc0aea5
......@@ -11,7 +11,7 @@ import styles from './AdvancedProfile.less';
const { Step } = Steps;
const { Description } = DescriptionList;
const getWindowWidth = () => (window.innerWidth || document.documentElement.documentElement);
const getWindowWidth = () => (window.innerWidth || document.documentElement.clientWidth);
const menu = (
<Menu>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册