Skip to content

Commit

Permalink
feat: 修改权限弹窗逻辑 #2738
Browse files Browse the repository at this point in the history
  • Loading branch information
lannoy0523 committed Nov 11, 2024
1 parent 45b99eb commit 7daa3cf
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
repoName: repoName
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: projectId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
path: this.formDialog.path
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
path: this.currentVersion.contentPath
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down Expand Up @@ -395,7 +395,7 @@
path: this.currentVersion.contentPath
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
repoName: this.repoName
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down Expand Up @@ -219,7 +219,7 @@
repoName: this.repoName
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/devops-repository/src/views/repoConfig/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
repoName: this.repoName
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down Expand Up @@ -349,7 +349,7 @@
repoName: this.repoName
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@
path: this.detailSlider.path
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
repoName: this.repoName
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down Expand Up @@ -203,7 +203,7 @@
path: this.genericForm.path
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down Expand Up @@ -248,7 +248,7 @@
path: this.genericForm.path
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
repoName: repoName
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: projectId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
repoName: this.repoName
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
repoName: this.repoName
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down Expand Up @@ -168,7 +168,7 @@
repoName: this.repoName
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down
4 changes: 2 additions & 2 deletions src/frontend/devops-repository/src/views/repoList/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@
repoName: name
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down Expand Up @@ -355,7 +355,7 @@
uid: this.userInfo.name
}
}).then(res => {
if (res !== '') {
if (res !== '' && res !== null) {
this.showIamDenyDialog = true
this.showData = {
projectId: this.projectId,
Expand Down

0 comments on commit 7daa3cf

Please sign in to comment.