IP名单列表显示代号

This commit is contained in:
GoEdgeLab
2024-05-05 19:51:17 +08:00
parent 71c7b7dcc7
commit 2da73788ec
4 changed files with 11 additions and 5 deletions

View File

@@ -25,6 +25,7 @@
<tr>
<th class="one wide center">ID</th>
<th class="three wide">名称</th>
<th class="two wide">代号</th>
<th class="two wide center">类型</th>
<th>备注</th>
<th class="two wide center">IP数量</th>
@@ -37,6 +38,10 @@
<a :href="'/servers/iplists/list?listId=' + list.id"><keyword :v-word="keyword">{{list.name}}</keyword></a>
<div v-if="list.isGlobal" style="margin-top: 0.3em"><grey-label>全局</grey-label></div>
</td>
<td>
<span v-if="list.code != null && list.code.length > 0">{{list.code}}</span>
<span v-else class="disabled">-</span>
</td>
<td class="center">
<span v-if="list.type == 'black'"><span class="red">黑名单</span></span>
<span v-if="list.type == 'white'"><span class="green">白名单</span></span>