在各个地方支持IPv6

This commit is contained in:
GoEdgeLab
2021-07-20 10:55:25 +08:00
parent a0b30ae23b
commit 320b325496
12 changed files with 59 additions and 16 deletions

View File

@@ -2,7 +2,7 @@ Vue.component("network-addresses-view", {
props: ["v-addresses"],
template: `<div>
<div class="ui label tiny basic" v-if="vAddresses != null" v-for="addr in vAddresses">
{{addr.protocol}}://<span v-if="addr.host.length > 0">{{addr.host}}</span><span v-else>*</span>:{{addr.portRange}}
{{addr.protocol}}://<span v-if="addr.host.length > 0">{{addr.host.quoteIP()}}</span><span v-else>*</span>:{{addr.portRange}}
</div>
</div>`
})