指标中列出使用当前指标的集群

This commit is contained in:
刘祥超
2021-07-19 15:48:36 +08:00
parent de2337afe7
commit f65aabe897
2 changed files with 26 additions and 0 deletions

View File

@@ -37,4 +37,13 @@
<span class="disabled" v-else>非公用</span>
</td>
</tr>
</table>
<!-- 使用此指标的集群 -->
<h4>绑定此指标的集群</h4>
<p class="comment" v-if="clusters.length == 0">暂时还没有集群使用此策略。</p>
<table class="ui table selectable" v-if="clusters.length > 0">
<tr v-for="cluster in clusters">
<td>{{cluster.name}}<link-icon :href="'/clusters/cluster?clusterId=' + cluster.id"></link-icon></td>
</tr>
</table>