在WAF中增加检查IP状态功能

This commit is contained in:
GoEdgeLab
2021-02-02 19:30:07 +08:00
parent 0fc9b99bf9
commit aa12405650
16 changed files with 375 additions and 158 deletions

View File

@@ -0,0 +1,11 @@
Vue.component("ip-item-text", {
props: ["v-item"],
template: `<span>
<span v-if="vItem.type == 'all'">*</span>
<span v-if="vItem.type == 'ipv4' || vItem.type.length == 0">
{{vItem.ipFrom}}
<span v-if="vItem.ipTo.length > 0">- {{vItem.ipTo}}</span>
</span>
<span v-if="vItem.type == 'ipv6'">{{vItem.ipFrom}}</span>
</span>`
})