实现在域名解析中使用EdgeDNS

This commit is contained in:
GoEdgeLab
2021-06-02 18:14:00 +08:00
parent 949a20f684
commit 21d2e7e924
8 changed files with 144 additions and 17 deletions

View File

@@ -14,10 +14,11 @@
<tr>
<td>服务商厂家 *</td>
<td>
<select class="ui dropdown auto-width" name="type" v-model="type">
<select class="ui dropdown auto-width" name="type" v-model="type" @change="changeType">
<option value="">[请选择]</option>
<option v-for="type in types" :value="type.code">{{type.name}}</option>
</select>
<p class="comment">{{typeDescription}}</p>
</td>
</tr>
<tr>
@@ -96,6 +97,19 @@
</tr>
</tbody>
<!-- Edge DNS -->
<tbody v-if="type == 'localEdgeDNS'">
<tr>
<td>选择域名服务集群 *</td>
<td>
<select class="ui dropdown auto-width" name="paramLocalEdgeDNSClusterId">
<option value="0">[选择域名服务集群]</option>
<option v-for="cluster in nsClusters" :value="cluster.id">{{cluster.name}}</option>
</select>
</td>
</tr>
</tbody>
<!-- 自定义HTTP-->
<tbody v-if="type == 'customHTTP'">
<tr>