This repository was archived by the owner on Nov 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +31
-3
lines changed
src/main/web/views/@default/proxy Expand file tree Collapse file tree 6 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 63
63
</ td >
64
64
</ tr >
65
65
< tbody v-show ="advancedOptionsVisible ">
66
+ < tr >
67
+ < td > 是否终止往下匹配</ td >
68
+ < td >
69
+ < div class ="ui checkbox ">
70
+ < input type ="checkbox " name ="isBreak " value ="1 "/>
71
+ < label > </ label >
72
+ </ div >
73
+ < p class ="comment "> 如果选中了此选项,一旦匹配成功,不会继续匹配其他的路径规则。</ p >
74
+ </ td >
75
+ </ tr >
66
76
< tr >
67
77
< td > 匹配条件</ td >
68
78
< td >
Original file line number Diff line number Diff line change @@ -59,6 +59,13 @@ <h3>基本信息 <a :href="'/proxy/locations/update?serverId=' + server.id + '&l
59
59
< div class ="ui label tiny " v-if ="location.conds != null " v-for ="cond in location.conds " style ="margin-bottom:0.4em "> < span > {{cond.param}} < strong style ="font-style:italic "> {{cond.operator}}</ strong > {{cond.value}}</ span > </ div >
60
60
</ td >
61
61
</ tr >
62
+ < tr >
63
+ < td > 是否终止往下匹配</ td >
64
+ < td >
65
+ < span v-if ="location.isBreak "> 是</ span >
66
+ < span v-if ="!location.isBreak "> 否</ span >
67
+ </ td >
68
+ </ tr >
62
69
< tr >
63
70
< td class ="color-border "> 文档根目录< em > (Root)</ em > </ td >
64
71
< td >
Original file line number Diff line number Diff line change 51
51
< span class ="ui label tiny red " v-if ="!location.on "> 未启用</ span >
52
52
< span class ="ui label tiny " v-if ="location.isCaseInsensitive "> 不区分大小写</ span >
53
53
< span class ="ui label tiny " v-if ="location.isReverse "> 反向匹配</ span >
54
- < span class ="ui label tiny " v-if ="location.root.length > 0 "> root</ span >
54
+ < span class ="ui label tiny " v-if ="location.isBreak "> break</ span >
55
+ < span class ="ui label tiny " v-if ="location.root.length > 0 "> root</ span >
55
56
< span class ="ui label tiny " v-if ="location.index != null && location.index.length > 0 "> index</ span >
56
57
< span class ="ui label tiny " v-if ="location.gzipLevel > 0 "> gzip:{{location.gzipLevel}}</ span >
57
58
< span class ="ui label tiny " v-if ="location.cachePolicy != null "> cache</ span >
Original file line number Diff line number Diff line change 55
55
</ td >
56
56
</ tr >
57
57
< tbody v-show ="advancedOptionsVisible ">
58
+ < tr >
59
+ < td > 是否终止往下匹配</ td >
60
+ < td >
61
+ < div class ="ui checkbox ">
62
+ < input type ="checkbox " name ="isBreak " value ="1 " v-model ="location.isBreak "/>
63
+ < label > </ label >
64
+ </ div >
65
+ < p class ="comment "> 如果选中了此选项,一旦匹配成功,不会继续匹配其他的路径规则。</ p >
66
+ </ td >
67
+ </ tr >
58
68
< tr >
59
69
< td > 匹配条件</ td >
60
70
< td >
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ <h3>添加重写规则</h3>
81
81
< input type ="checkbox " name ="isBreak " value ="1 "/>
82
82
< label > </ label >
83
83
</ div >
84
- < p class ="comment "> 如果选中了此选项,一旦匹配成功,不会继续匹配其他的路径规则 </ p >
84
+ < p class ="comment "> 如果选中了此选项,一旦匹配成功,不会继续匹配其他的重写规则或路径规则。 </ p >
85
85
</ td >
86
86
</ tr >
87
87
< tr v-if ="redirectMode == 'r' ">
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ <h3>修改重写规则</h3>
83
83
< input type ="checkbox " name ="isBreak " value ="1 " v-model ="rewrite.isBreak "/>
84
84
< label > </ label >
85
85
</ div >
86
- < p class ="comment "> 如果选中了此选项,一旦匹配成功,不会继续匹配其他的路径规则 </ p >
86
+ < p class ="comment "> 如果选中了此选项,一旦匹配成功,不会继续匹配其他的重写规则或路径规则。 </ p >
87
87
</ td >
88
88
</ tr >
89
89
< tr v-if ="redirectMode == 'r' ">
You can’t perform that action at this time.
0 commit comments