mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 20:40:26 +08:00
优化界面
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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))
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user