mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-06 23:00:25 +08:00
优化域名服务相关功能
This commit is contained in:
@@ -51,8 +51,10 @@ Vue.component("ns-route-ranges-box", {
|
||||
|
||||
this.ranges.push({
|
||||
type: "ipRange",
|
||||
ipFrom: this.ipRangeFrom,
|
||||
ipTo: this.ipRangeTo
|
||||
params: {
|
||||
ipFrom: this.ipRangeFrom,
|
||||
ipTo: this.ipRangeTo
|
||||
}
|
||||
})
|
||||
this.cancelIPRange()
|
||||
},
|
||||
@@ -76,7 +78,7 @@ Vue.component("ns-route-ranges-box", {
|
||||
<div v-if="ranges.length > 0">
|
||||
<div class="ui label tiny basic" v-for="(range, index) in ranges">
|
||||
<span v-if="range.type == 'ipRange'">IP范围:</span>
|
||||
{{range.ipFrom}} - {{range.ipTo}} <a href="" title="删除" @click.prevent="remove(index)"><i class="icon remove small"></i></a>
|
||||
{{range.params.ipFrom}} - {{range.params.ipTo}} <a href="" title="删除" @click.prevent="remove(index)"><i class="icon remove small"></i></a>
|
||||
</div>
|
||||
<div class="ui divider"></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user