src/views/login/index.jsx
@@ -106,11 +106,6 @@ localStorage.removeItem(_url) } // if (this.props.location.state && this.props.location.state.from.pathname) { // // 查看是否为其他页面跳转,路径存在时,跳回原页面 // this.props.history.replace(this.props.location.state.from.pathname) // } let _history = sessionStorage.getItem('history') if (_history) { sessionStorage.removeItem('history')