src/views/design/header/index.jsx
@@ -33,13 +33,13 @@ logout = () => { // 退出登录 let _this = this let that = this confirm({ title: '您确定要退出吗?', content: '', onOk() { sessionStorage.clear() _this.props.history.replace('/login') that.props.history.replace('/login') window.location.reload() }, onCancel() {}