diff --git a/src/frontend/devops-repository/src/views/repoConfig/index.vue b/src/frontend/devops-repository/src/views/repoConfig/index.vue index 91e32a3f74..87a5b95d29 100644 --- a/src/frontend/devops-repository/src/views/repoConfig/index.vue +++ b/src/frontend/devops-repository/src/views/repoConfig/index.vue @@ -156,7 +156,7 @@ return ['docker', 'generic', 'helm'].includes(this.repoType) && (this.userInfo.admin || this.userInfo.manage) }, showControlConfigTab () { - return (this.userInfo.admin || this.userInfo.manage) && !this.authMode.bkiamv3Check + return (this.userInfo.admin || this.userInfo.manage) && (this.authMode && !this.authMode.bkiamv3Check) }, repoAddress () { const { repoType, name } = this.repoBaseInfo