Browse Source

退出登录加上baseurl

yangc 8 years ago
parent
commit
6e25a99035
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/default/Header.vue

+ 1 - 1
components/default/Header.vue

@@ -79,7 +79,7 @@
       logout () {
         this.$http.get('/logout/crossBefore').then(response => {
           if (response.data) {
-            window.location.href = response.data.logoutUrl + encodeURIComponent(window.location.protocol + '//' + window.location.host + response.data.baseUrl)
+            window.location.href = response.data.logoutUrl + '&baseUrl=' + encodeURIComponent(window.location.protocol + '//' + window.location.host + response.data.baseUrl)
           }
         })
       },