实现服务的缓存策略设置

This commit is contained in:
GoEdgeLab
2020-10-04 20:38:27 +08:00
parent db21a86825
commit 0bbd178b29
25 changed files with 502 additions and 133 deletions

View File

@@ -0,0 +1,18 @@
{$layout "layout_popup"}
<h3>添加缓存设置</h3>
<form class="ui form" data-tea-action="$" data-tea-success="success">
<table class="ui table definition selectable">
<tr>
<td class="title">缓存策略 *</td>
<td>
<select class="ui dropdown auto-width" name="cachePolicyId" v-model="cachePolicyId">
<option v-for="cachePolicy in cachePolicies" :value="cachePolicy.id">{{cachePolicy.name}}</option>
</select>
</td>
</tr>
<tbody is="http-cache-ref-box" :v-cache-ref="cacheRef"></tbody>
</table>
<submit-btn></submit-btn>
</form>