路径规则改成路由规则

This commit is contained in:
刘祥超
2021-07-13 14:28:06 +08:00
parent daf8257a1f
commit 9669c0ddda
23 changed files with 69 additions and 43 deletions

View File

@@ -1,4 +1,4 @@
<first-menu>
<menu-item :href="'/servers/server/settings/locations?serverId=' + serverId">所有路规则 &raquo;</menu-item>
<menu-item :href="'/servers/server/settings/locations?serverId=' + serverId">所有路规则 &raquo;</menu-item>
<menu-item :href="'/servers/server/settings/locations/location?serverId=' + serverId + '&locationId=' + locationId" :active="true">{{locationConfig.pattern}}</menu-item>
</first-menu>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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,

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>