From 0eda84a99a55c76be2f0eba4de6eee4a922ed6f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Sat, 18 Nov 2023 08:51:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BF=AE=E6=94=B9=E5=8D=95?= =?UTF-8?q?=E4=B8=AAWAF=E5=8A=A8=E4=BD=9C=E6=97=B6=E5=90=8D=E7=A7=B0?= =?UTF-8?q?=E5=8F=98=E4=B8=BA=E9=98=BB=E6=AD=A2=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/public/js/components/server/http-firewall-actions-box.js | 3 +++ 1 file changed, 3 insertions(+) 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 c5ec142c..63b5091a 100644 --- a/web/public/js/components/server/http-firewall-actions-box.js +++ b/web/public/js/components/server/http-firewall-actions-box.js @@ -338,6 +338,9 @@ Vue.component("http-firewall-actions-box", { this.editingIndex = index this.actionCode = config.code + this.action = this.actions.$find(function (k, v) { + return v.code == config.code + }) switch (config.code) { case "block":