集群设置 -- 缓存策略 可以直接点击修改

This commit is contained in:
GoEdgeLab
2023-08-07 17:39:10 +08:00
parent d9edc68760
commit 9f24a6b3ee
4 changed files with 4 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ Vue.component("http-cache-policy-selector", {
template: `<div>
<div v-if="cachePolicy != null" class="ui label basic">
<input type="hidden" name="cachePolicyId" :value="cachePolicy.id"/>
{{cachePolicy.name}} &nbsp; <a :href="'/servers/components/cache/policy?cachePolicyId=' + cachePolicy.id" target="_blank" title="修改"><i class="icon pencil small"></i></a>&nbsp; <a href="" @click.prevent="remove()" title="删除"><i class="icon remove small"></i></a>
{{cachePolicy.name}} &nbsp; <a :href="'/servers/components/cache/update?cachePolicyId=' + cachePolicy.id" target="_blank" title="修改"><i class="icon pencil small"></i></a>&nbsp; <a href="" @click.prevent="remove()" title="删除"><i class="icon remove small"></i></a>
</div>
<div v-if="cachePolicy == null">
<span v-if="count > 0"><a href="" @click.prevent="select">[选择已有策略]</a> &nbsp; &nbsp; </span><a href="" @click.prevent="create">[创建新策略]</a>

View File

@@ -75,7 +75,7 @@
<input type="checkbox" name="isOn" value="1" v-model="node.isOn"/>
<label></label>
</div>
<p class="comment">如果不启用此节点,此节点上的所有服务将不能访问。</p>
<p class="comment">如果不启用此节点,此节点上的所有网站将不能访问。</p>
</td>
</tr>
</tbody>

View File

@@ -11,7 +11,7 @@
<td class="title">选择缓存策略 *</td>
<td>
<http-cache-policy-selector :v-cache-policy="cachePolicy"></http-cache-policy-selector>
<p class="comment">部署在当前集群上的所有服务都会自动使用此策略,只是服务可以自定义是否开启。</p>
<p class="comment">部署在当前集群上的所有网站都会自动使用此策略,只是服务可以自定义是否开启。</p>
</td>
</tr>
</table>

View File

@@ -11,7 +11,7 @@
<td class="title">选择WAF策略 *</td>
<td>
<http-firewall-policy-selector :v-http-firewall-policy="firewallPolicy"></http-firewall-policy-selector>
<p class="comment">部署在当前集群上的所有服务都会自动使用此策略,只是服务可以自定义是否开启。</p>
<p class="comment">部署在当前集群上的所有网站都会自动使用此策略,只是网站可以自定义是否开启。</p>
</td>
</tr>
</table>