src/views/user/UserManagement.vue
@@ -23,8 +23,11 @@
          content: '真的要注销登录吗 ?',
          onOk() {
            return that.Logout({}).then(() => {
              that.$router.push({ path: '/user/login' });
              // window.location.reload()
              // setTimeout(() => {
              //   that.$router.replace({ path: '/user/login' })
              // }, 2000)
              that.$router.replace({ path: '/user/login' })
            }).catch(err => {
              that.$message.error({
                title: '错误',