diff --git a/src/routes/Profile/AdvancedProfile.js b/src/routes/Profile/AdvancedProfile.js index 94299777..357d56d2 100644 --- a/src/routes/Profile/AdvancedProfile.js +++ b/src/routes/Profile/AdvancedProfile.js @@ -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 = (