瀏覽代碼

退出登录加上baseurl

yangc 8 年之前
父節點
當前提交
6e25a99035
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
           }
         })
       },