Przeglądaj źródła

退出登录加上baseurl

yangc 8 lat temu
rodzic
commit
6e25a99035
1 zmienionych plików z 1 dodań i 1 usunięć
  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)
           }
         })
       },