实现公用的统计指标

This commit is contained in:
GoEdgeLab
2021-07-19 15:23:20 +08:00
parent 2ffa16d488
commit 29eee20ce6
15 changed files with 47 additions and 6 deletions

View File

@@ -15,7 +15,11 @@
</tr>
</thead>
<tr v-for="item in items">
<td>{{item.name}}</td>
<td>{{item.name}}
<div style="margin-top: 0.3em" v-if="item.isPublic">
<span class="ui label olive tiny basic">公用</span>
</div>
</td>
<td>
<div v-if="item.keys != null" v-for="key in item.keys" style="margin-top: 0.2em; margin-bottom: 0.2em"><metric-key-label :v-key="key"></metric-key-label></div>
</td>

View File

@@ -26,7 +26,11 @@
</tr>
</thead>
<tr v-for="item in items">
<td>{{item.name}}</td>
<td>{{item.name}}
<div style="margin-top: 0.3em" v-if="item.isPublic">
<span class="ui label olive tiny basic">公用</span>
</div>
</td>
<td>
<div v-if="item.keys != null" v-for="key in item.keys" style="margin-top: 0.2em; margin-bottom: 0.2em"><metric-key-label :v-key="key"></metric-key-label></div>
</td>