Skip to content

Commit

Permalink
fix(front): 进程属性无服务模板时跳转 【配置平台】 无响应问题 (close TencentBlueKing#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
GONGONGONG committed Dec 7, 2021
1 parent a6039f8 commit 534638e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion web/src/views/ProcessAttribute/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
</section>

<section class="content-right">
<EmptyServiceBox v-if="isTemplateTab && isEmtpyTemplate" type="template"></EmptyServiceBox>
<EmptyServiceBox v-if="isTemplateTab && isEmtpyTemplate" type="template" @change="handleEmptyLink">
</EmptyServiceBox>
<!-- <EmptyServiceBox v-else-if="isShowTopoTree && isEmtpyInstance" type="instance" :info="emptyInstanceInfo">
</EmptyServiceBox> -->

Expand Down Expand Up @@ -971,6 +972,10 @@ export default {
// tipsRenderHeader(h, { column }) {
// return <span class="text-has-tips" v-bk-tooltips={ this.subHeadMap[column.property] }>{ column.label }</span>
// },
handleEmptyLink() {
const url = `${window.PROJECT_CONFIG.CMDB_URL}/#/business/${this.$store.state.bizId}/service/operational/template?tab=config`;
window.open(url, '_blank');
},
},
};
</script>
Expand Down

0 comments on commit 534638e

Please sign in to comment.