mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-08 14:10:30 +08:00
缓存文件实现Sendfile
This commit is contained in:
@@ -47,4 +47,9 @@ Vue.component("grey-label", {
|
||||
// 可选标签
|
||||
Vue.component("optional-label", {
|
||||
template: `<em><span class="grey">(可选)</span></em>`
|
||||
})
|
||||
|
||||
// Plus专属
|
||||
Vue.component("plus-label", {
|
||||
template: `<span style="color: #B18701;">Plus专属功能。</span>`
|
||||
})
|
||||
@@ -26,6 +26,7 @@ Vue.component("node-level-selector", {
|
||||
<select class="ui dropdown auto-width" name="level" v-model="levelCode">
|
||||
<option v-for="level in levels" :value="level.code">{{level.name}}</option>
|
||||
</select>
|
||||
<p class="comment" v-if="typeof(levels[levelCode - 1]) != null">{{levels[levelCode - 1].description}}</p>
|
||||
<p class="comment" v-if="typeof(levels[levelCode - 1]) != null"><plus-label
|
||||
></plus-label>{{levels[levelCode - 1].description}}</p>
|
||||
</div>`
|
||||
})
|
||||
@@ -33,7 +33,7 @@ Vue.component("http-cache-stale-config", {
|
||||
<td class="title">启用过时缓存</td>
|
||||
<td>
|
||||
<checkbox v-model="config.isOn"></checkbox>
|
||||
<p class="comment">选中后,在更新缓存失败后会尝试读取过时的缓存。</p>
|
||||
<p class="comment"><plus-label></plus-label>选中后,在更新缓存失败后会尝试读取过时的缓存。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-show="config.isOn">
|
||||
|
||||
Reference in New Issue
Block a user