mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-25 19:56:35 +08:00
路径规则改成路由规则
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<first-menu>
|
||||
<menu-item :href="'/servers/server/settings/locations?serverId=' + serverId">所有路径规则 »</menu-item>
|
||||
<menu-item :href="'/servers/server/settings/locations?serverId=' + serverId">所有路由规则 »</menu-item>
|
||||
<menu-item :href="'/servers/server/settings/locations/location?serverId=' + serverId + '&locationId=' + locationId" :active="true">{{locationConfig.pattern}}</menu-item>
|
||||
</first-menu>
|
||||
@@ -30,7 +30,7 @@
|
||||
<input type="checkbox" name="isBreak" value="1"/>
|
||||
<label></label>
|
||||
</div>
|
||||
<p class="comment">如果选中了此选项,一旦匹配成功,不会继续匹配其他的路径规则。</p>
|
||||
<p class="comment">如果选中了此选项,一旦匹配成功,不会继续匹配其他的路由规则。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<div class="right-box">
|
||||
{$template "menu"}
|
||||
|
||||
<p class="comment" v-if="locations.length == 0">暂时还没有路径规则。</p>
|
||||
<p class="comment" v-if="locations.length == 0">暂时还没有路由规则。</p>
|
||||
|
||||
<table class="ui table selectable celled" v-if="locations.length > 0" id="sortable-table">
|
||||
<thead>
|
||||
@@ -39,5 +39,5 @@
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<p class="comment" v-if="locations.length > 0">拖动左侧的<i class="icon bars grey"></i>图标可以对路径规则进行排序。</p>
|
||||
<p class="comment" v-if="locations.length > 0">拖动左侧的<i class="icon bars grey"></i>图标可以对路由规则进行排序。</p>
|
||||
</div>
|
||||
@@ -3,9 +3,9 @@ Tea.context(function () {
|
||||
this.sort()
|
||||
}, 1000)
|
||||
|
||||
// 删除路径规则
|
||||
// 删除路由规则
|
||||
this.deleteLocation = function (locationId) {
|
||||
teaweb.confirm("确定要删除此路径规则吗?", function () {
|
||||
teaweb.confirm("确定要删除此路由规则吗?", function () {
|
||||
this.$post(".delete")
|
||||
.params({
|
||||
webId: this.webId,
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<input type="checkbox" name="isBreak" value="1" v-model="locationConfig.isBreak"/>
|
||||
<label></label>
|
||||
</div>
|
||||
<p class="comment">如果选中了此选项,一旦匹配成功,不会继续匹配其他的路径规则。</p>
|
||||
<p class="comment">如果选中了此选项,一旦匹配成功,不会继续匹配其他的路由规则。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
<input type="checkbox" name="isBreak" value="1"/>
|
||||
<label></label>
|
||||
</div>
|
||||
<p class="comment">如果选中了此选项,一旦匹配成功,不会继续匹配其他的重写规则或路径规则。</p>
|
||||
<p class="comment">如果选中了此选项,一旦匹配成功,不会继续匹配其他的重写规则或路由规则。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
<input type="checkbox" name="isBreak" value="1" v-model="rewriteRule.isBreak"/>
|
||||
<label></label>
|
||||
</div>
|
||||
<p class="comment">如果选中了此选项,一旦匹配成功,不会继续匹配其他的重写规则或路径规则。</p>
|
||||
<p class="comment">如果选中了此选项,一旦匹配成功,不会继续匹配其他的重写规则或路由规则。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user