增加内置的统计指标

This commit is contained in:
刘祥超
2021-07-19 20:38:19 +08:00
parent c16c6ea6a6
commit 7b73c86fa4
8 changed files with 22 additions and 7 deletions

View File

@@ -16,8 +16,9 @@
</thead>
<tr v-for="item in items">
<td>{{item.name}}
<div style="margin-top: 0.3em" v-if="item.isPublic">
<span class="ui label olive tiny basic">公用</span>
<div style="margin-top: 0.3em" v-if="item.isPublic || item.code.length > 0">
<span class="ui label olive tiny basic" v-if="item.isPublic">公用</span>
<span class="ui label olive tiny basic" v-if="item.code.length > 0">内置</span>
</div>
</td>
<td>

View File

@@ -27,8 +27,9 @@
</thead>
<tr v-for="item in items">
<td>{{item.name}}
<div style="margin-top: 0.3em" v-if="item.isPublic">
<span class="ui label olive tiny basic">公用</span>
<div style="margin-top: 0.3em" v-if="item.isPublic || item.code.length > 0">
<span class="ui label olive tiny basic" v-if="item.isPublic">公用</span>
<span class="ui label olive tiny basic" v-if="item.code.length > 0">内置</span>
</div>
</td>
<td>