Skip to content

Commit

Permalink
增加构建详情的查看配置项,在构建详情界面点击插件时,默认进入的是 日志 or 配置 Tab页面。 TencentBlueKing#10808
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 18511
  • Loading branch information
useryuyu committed Sep 14, 2024
1 parent abdfd73 commit adb00b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
14 changes: 3 additions & 11 deletions src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
v-if="currentTab === 'log'"
/>
<component
v-if="currentTab === key"
v-show="currentTab === key"
:is="value.component"
v-bind="value.bindData"
v-for="(value, key) in componentList"
Expand Down Expand Up @@ -95,7 +95,8 @@
{ name: 'artifactory', show: false, completeLoading: false },
{ name: 'report', show: false, completeLoading: false },
{ name: 'setting', show: true }
]
],
isShowArtifact: false
}
},
Expand Down Expand Up @@ -167,15 +168,6 @@
// } catch (error) {
// return null
// }
},
showTab () {
const artifactoryTab = this.tabList.find(tab => tab.name === 'artifactory')
const reportTab = this.tabList.find(tab => tab.name === 'report')
if (artifactoryTab && reportTab) {
return artifactoryTab.completeLoading && reportTab.completeLoading
}
return false
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
<plugin
:exec-detail="execDetail"
:editing-element-pos="editingElementPos"
:properties="curProject.properties.pluginDetailsDisplayOrder"
:properties="['CONFIG', 'LOG', 'ARTIFACT']"
@close="hideSidePanel"
/>
</template>
Expand Down

0 comments on commit adb00b0

Please sign in to comment.