mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-16 05:36:36 +08:00
路由规则增加专属域名设置
This commit is contained in:
@@ -25,6 +25,13 @@ Vue.component("http-location-labels", {
|
||||
template: ` <div class="labels-box">
|
||||
<!-- 基本信息 -->
|
||||
<http-location-labels-label v-if="location.name != null && location.name.length > 0" :class="'olive'" :href="url('/location')">{{location.name}}</http-location-labels-label>
|
||||
|
||||
<!-- domains -->
|
||||
<div v-if="location.domains != null && location.domains.length > 0">
|
||||
<grey-label v-for="domain in location.domains">{{domain}}</grey-label>
|
||||
</div>
|
||||
|
||||
<!-- break -->
|
||||
<http-location-labels-label v-if="location.isBreak" :href="url('/location')">BREAK</http-location-labels-label>
|
||||
|
||||
<!-- redirectToHTTPS -->
|
||||
|
||||
@@ -51,6 +51,13 @@
|
||||
<td colspan="2"><more-options-indicator></more-options-indicator></td>
|
||||
</tr>
|
||||
<tbody v-show="moreOptionsVisible">
|
||||
<tr>
|
||||
<td>专属域名</td>
|
||||
<td>
|
||||
<domains-box></domains-box>
|
||||
<p class="comment">默认不需要填写,表示支持所有域名。如果填写了专属域名,表示当前路由规则只会在这些域名被访问时才生效。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>不区分大小写</td>
|
||||
<td>
|
||||
|
||||
@@ -52,6 +52,14 @@
|
||||
<td colspan="2"><more-options-indicator></more-options-indicator></td>
|
||||
</tr>
|
||||
<tbody v-show="moreOptionsVisible">
|
||||
<tr>
|
||||
<td>专属域名</td>
|
||||
<td>
|
||||
<domains-box :v-domains="domains"></domains-box>
|
||||
<p class="comment">默认不需要填写,表示支持所有域名。如果填写了专属域名,表示当前路由规则只会在这些域名被访问时才生效。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>不区分大小写</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user