diff --git a/web/public/js/components/server/http-firewall-actions-box.js b/web/public/js/components/server/http-firewall-actions-box.js index 21f7ced2..ac81ef1e 100644 --- a/web/public/js/components/server/http-firewall-actions-box.js +++ b/web/public/js/components/server/http-firewall-actions-box.js @@ -85,6 +85,8 @@ Vue.component("http-firewall-actions-box", { ipListLevels: [], // 动作参数 + allowScope: "global", + blockTimeout: "", blockTimeoutMax: "", blockScope: "global", @@ -140,6 +142,9 @@ Vue.component("http-firewall-actions-box", { }) this.actionOptions = {} }, + allowScope: function (v) { + this.actionOptions["scope"] = v + }, blockTimeout: function (v) { v = parseInt(v) if (isNaN(v)) { @@ -279,6 +284,8 @@ Vue.component("http-firewall-actions-box", { this.actionOptions = {} // 动作参数 + this.allowScope = "global" + this.blockTimeout = "" this.blockTimeoutMax = "" this.blockScope = "global" @@ -363,6 +370,11 @@ Vue.component("http-firewall-actions-box", { } break case "allow": + if (config.options != null && config.options.scope != null && config.options.scope.length > 0) { + this.allowScope = config.options.scope + } else { + this.allowScope = "global" + } break case "log": break @@ -674,6 +686,13 @@ Vue.component("http-firewall-actions-box", {
跳过当前分组其他规则集,继续执行其他分组的规则集。
+跳过当前网站所有的规则集。
+跳过当前网站和网站对应WAF策略所有的规则集。
+