// 显示WAF规则的标签
Vue.component("http-firewall-rule-label", {
props: ["v-rule"],
data: function () {
return {
rule: this.vRule
}
},
template: `
{{rule.name}}[{{rule.param}}]
{{rule.checkpointOptions.period}}秒/{{rule.checkpointOptions.threshold}}请求
| {{paramFilter.code}}
{{rule.operator}}
{{rule.value}}
`
})