优化文字提示

This commit is contained in:
GoEdgeLab
2023-05-23 19:15:35 +08:00
parent 3248c9629e
commit 18ffd4550f
5 changed files with 6 additions and 6 deletions

View File

@@ -98,13 +98,13 @@ func (this *ClusterHelper) createSettingMenu(cluster *pb.NodeCluster, info *pb.F
"isOn": true,
})
items = append(items, maps.Map{
"name": "缓存设置",
"name": "缓存策略",
"url": "/clusters/cluster/settings/cache?clusterId=" + clusterId,
"isActive": selectedItem == "cache",
"isOn": cluster.HttpCachePolicyId > 0,
})
items = append(items, maps.Map{
"name": "WAF设置",
"name": "WAF策略",
"url": "/clusters/cluster/settings/waf?clusterId=" + clusterId,
"isActive": selectedItem == "waf",
"isOn": cluster.HttpFirewallPolicyId > 0,