king
2024-08-25 326aa6b3effaccc71cfe0775d47b0f29eb3695a6
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() {}