优化界面

This commit is contained in:
GoEdgeLab
2022-11-06 15:16:21 +08:00
parent 00a31df3ba
commit e627b7b92f
2 changed files with 2 additions and 8 deletions

View File

@@ -1,7 +1,6 @@
{$layout}
<div class="ui tabular menu tiny">
<a href="" class="item" :class="{active: tab == 'domainMatch'}" @click.prevent="selectTab('domainMatch')">域名匹配配置</a>
<a href="" class="item" :class="{active: tab == 'domainAuditing'}" @click.prevent="selectTab('domainAuditing')">域名审核配置</a>
<a href="" class="item" :class="{active: tab == 'tcpPorts'}" @click.prevent="selectTab('tcpPorts')">TCP/TLS端口</a>
</div>
@@ -9,11 +8,6 @@
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
<input type="hidden" name="globalConfigJSON" :value="JSON.stringify(globalConfig)"/>
<!-- 域名相关配置 -->
<div v-show="tab == 'domainMatch'">
<p class="comment">域名匹配相关配置已经转移到集群设置中,请到对应的集群设置中修改。</p>
</div>
<!-- 域名审核相关配置 -->
<div v-show="tab == 'domainAuditing'">
<table class="ui table definition selectable">

View File

@@ -1,9 +1,9 @@
Tea.context(function () {
this.tab = "domainMatch"
this.tab = "domainAuditing"
this.$delay(function () {
if (window.location.hash != null && window.location.hash.length > 1) {
this.selectTab(window.location.hash.substr(1))
this.selectTab(window.location.hash.substring(1))
}
})