Skip to content

Commit

Permalink
feat(front): 注销登录修改
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 8650
  • Loading branch information
hyunfa authored and wyyalt committed Jun 6, 2024
1 parent 398a86a commit b61cadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export default {
},
handleLogout() {
// location.assign('/console/accounts/logout/');
location.href = `${window.PROJECT_CONFIG.LOGIN_URL}?c_url=${window.location}&is_from_logout=1`;
location.href = `${window.PROJECT_CONFIG.LOGIN_URL}?c_url=${encodeURIComponent(`${window.location}&is_from_logout=1`)}`;
},
async resetAuthInfo() {
const currentBiz = this.bizList.find(item => item.bk_biz_id === this.bizId);
Expand Down

0 comments on commit b61cadb

Please sign in to comment.