优化代码

This commit is contained in:
刘祥超
2021-06-08 22:58:39 +08:00
parent a8030fa045
commit dda1e3054a
3 changed files with 10 additions and 87 deletions

View File

@@ -109,7 +109,7 @@ Vue.component("http-cond-url-prefix", {
template: `<div>
<input type="hidden" name="condJSON" :value="JSON.stringify(cond)"/>
<input type="text" v-model="cond.value"/>
<p class="comment">URL前缀通常以<code-label>/</code-label>开头,比如<code-label>/static</code-label>。</p>
<p class="comment">URL前缀有此前缀的URL都将会被匹配通常以<code-label>/</code-label>开头,比如<code-label>/static</code-label>。</p>
</div>`
})
@@ -133,7 +133,7 @@ Vue.component("http-cond-url-not-prefix", {
template: `<div>
<input type="hidden" name="condJSON" :value="JSON.stringify(cond)"/>
<input type="text" v-model="cond.value"/>
<p class="comment">要排除的URL前缀通常以<code-label>/</code-label>开头,比如<code-label>/static</code-label>。</p>
<p class="comment">要排除的URL前缀有此前缀的URL都将会被匹配通常以<code-label>/</code-label>开头,比如<code-label>/static</code-label>。</p>
</div>`
})