Skip to content

Commit

Permalink
bugfix: DDC在浏览器进行OAuth授权时自动跳转至首页 #2839
Browse files Browse the repository at this point in the history
  • Loading branch information
lannoy0523 committed Dec 12, 2024
1 parent 7e3ef75 commit 4b8e932
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/frontend/devops-repository/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@
if (this.projectList.find(v => v.id === urlProjectId)) {
projectId = urlProjectId
} else if (this.projectList.find(v => v.id === localProjectId)) {
this.$bkMessage({
message: this.$t('projectNoPermissionTip', { 0: urlProjectId }),
theme: 'primary'
})
projectId = localProjectId
} else {
this.$bkMessage({
Expand Down

0 comments on commit 4b8e932

Please sign in to comment.