WAF block动作默认封锁范围为global

This commit is contained in:
刘祥超
2021-11-16 19:17:08 +08:00
parent e209ff38d9
commit 667f363f3c

View File

@@ -244,7 +244,7 @@ Vue.component("http-firewall-actions-box", {
if (config.options.scope != null && config.options.scope.length > 0) { if (config.options.scope != null && config.options.scope.length > 0) {
this.blockScope = config.options.scope this.blockScope = config.options.scope
} else { } else {
this.blockScope = "service" // 兼容先前版本遗留的默认值 this.blockScope = "global" // 兼容先前版本遗留的默认值
} }
break break
case "allow": case "allow":