From 0e7f2a9fb73884910935bb30b44a667999638a82 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 15 Oct 2023 09:34:07 +0800 Subject: [PATCH] =?UTF-8?q?WAF=E8=AE=B0=E5=BD=95IP=E5=8A=A8=E4=BD=9C?= =?UTF-8?q?=E4=B8=ADIP=E5=90=8D=E5=8D=95=E5=85=81=E8=AE=B8=E7=95=99?= =?UTF-8?q?=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../js/components/server/http-firewall-actions-box.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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}}