diff --git a/src/frontend/devops-repository/src/components/RepoTree/index.vue b/src/frontend/devops-repository/src/components/RepoTree/index.vue index b6c694e85e..d5748738b9 100644 --- a/src/frontend/devops-repository/src/components/RepoTree/index.vue +++ b/src/frontend/devops-repository/src/components/RepoTree/index.vue @@ -13,7 +13,7 @@ -
+
diff --git a/src/frontend/devops-repository/src/store/actions/repoGeneric.js b/src/frontend/devops-repository/src/store/actions/repoGeneric.js index 4e22a5b8cb..9c6a4656db 100644 --- a/src/frontend/devops-repository/src/store/actions/repoGeneric.js +++ b/src/frontend/devops-repository/src/store/actions/repoGeneric.js @@ -73,7 +73,7 @@ export default { request = Vue.prototype.$ajax.post( `${prefix}/node/search`, { - select: ['name', 'fullPath'], + select: ['name', 'fullPath', 'metadata'], page: { pageNumber: 1, pageSize: 10000 diff --git a/src/frontend/devops-repository/src/views/repoGeneric/genericTreeDialog.vue b/src/frontend/devops-repository/src/views/repoGeneric/genericTreeDialog.vue index 4ca24fb330..2daa4ee34f 100644 --- a/src/frontend/devops-repository/src/views/repoGeneric/genericTreeDialog.vue +++ b/src/frontend/devops-repository/src/views/repoGeneric/genericTreeDialog.vue @@ -18,8 +18,8 @@ :tree="genericTree" :important-search="importantSearch" :open-list="genericTreeData.openList" - :selected-node="genericTreeData.selectedNode" :open-type="genericTreeData.type" + :selected-node="genericTreeData.selectedNode" @icon-click="iconClickHandler" @item-click="itemClickHandler"> diff --git a/src/frontend/devops-repository/src/views/repoGeneric/index.vue b/src/frontend/devops-repository/src/views/repoGeneric/index.vue index 777ead4c1c..b64b47debb 100644 --- a/src/frontend/devops-repository/src/views/repoGeneric/index.vue +++ b/src/frontend/devops-repository/src/views/repoGeneric/index.vue @@ -308,11 +308,6 @@ created () { this.getRepoListAll({ projectId: this.projectId }) this.initTree() - if (this.repoName === 'pipeline') { - this.$nextTick(() => { - this.$refs.repoTree.openType = this.repoName - }) - } this.pathChange() window.repositoryVue.$on('upload-refresh', debounce((path) => { if (path.replace(/\/[^/]+$/, '').includes(this.selectedTreeNode.fullPath)) { diff --git a/src/frontend/devops-repository/src/views/repoSearch/index.vue b/src/frontend/devops-repository/src/views/repoSearch/index.vue index 9fc3033b55..5decee5f63 100644 --- a/src/frontend/devops-repository/src/views/repoSearch/index.vue +++ b/src/frontend/devops-repository/src/views/repoSearch/index.vue @@ -48,7 +48,7 @@