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 a3588028..c5ec142c 100644 --- a/web/public/js/components/server/http-firewall-actions-box.js +++ b/web/public/js/components/server/http-firewall-actions-box.js @@ -499,9 +499,12 @@ Vue.component("http-firewall-actions-box", { if (isNaN(timeout)) { timeout = 0 } - if (this.recordIPListId <= 0) { + if (this.recordIPListId < 0) { return } + + // recordIPListId can be 0 + this.actionOptions = { type: this.recordIPType, level: this.recordIPLevel, @@ -849,7 +852,7 @@ Vue.component("http-firewall-actions-box", { - 选择IP名单 * + 选择IP名单
{{recordIPListName}}