换成单集群模式

This commit is contained in:
robin
2026-03-02 20:07:53 +08:00
parent 5d0b7c7e91
commit 2a76d1773d
432 changed files with 5681 additions and 5095 deletions

View File

@@ -28,8 +28,7 @@
<colgroup>
<col style="width:20%;" />
<col style="width:12%;" />
<col style="width:11%;" />
<col style="width:11%;" />
<col style="width:16%;" />
<col style="width:12%;" />
<col style="width:8%;" />
<col style="width:6%;" />
@@ -39,8 +38,7 @@
<tr>
<th>应用名称</th>
<th>AppID</th>
<th>集群</th>
<th>备用集群</th>
<th>集群</th>
<th>用户</th>
<th class="center">绑定域名数</th>
<th class="center">状态</th>
@@ -61,16 +59,10 @@
<copy-icon :text="app.appId"></copy-icon>
</td>
<td>
<span v-if="app.primaryCluster != null && app.primaryCluster.id > 0">
{{app.primaryCluster.name || ('#' + app.primaryCluster.id)}}
<link-icon :href="'/httpdns/clusters/cluster?clusterId=' + app.primaryCluster.id"></link-icon>
</span>
<span v-else class="disabled">-</span>
</td>
<td>
<span v-if="app.backupCluster != null && app.backupCluster.id > 0">
{{app.backupCluster.name || ('#' + app.backupCluster.id)}}
<link-icon :href="'/httpdns/clusters/cluster?clusterId=' + app.backupCluster.id"></link-icon>
<span v-if="app.clusters != null && app.clusters.length > 0">
<span v-for="(cluster, idx) in app.clusters">
<a :href="'/httpdns/clusters/cluster?clusterId=' + cluster.id">{{cluster.name || ('#' + cluster.id)}}</a><span v-if="idx < app.clusters.length - 1"></span>
</span>
</span>
<span v-else class="disabled">-</span>
</td>