From ac91480987193d03725b1a30c411afda091dde73 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Mon, 11 Sep 2023 18:30:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E9=98=B2=E7=81=AB?= =?UTF-8?q?=E5=A2=99=E6=90=9C=E7=B4=A2=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20(#2256)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/modules/host.ts | 2 +- frontend/src/views/host/firewall/ip/index.vue | 2 -- frontend/src/views/host/firewall/port/index.vue | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/frontend/src/api/modules/host.ts b/frontend/src/api/modules/host.ts index b7b6b0d1c..52cd0f915 100644 --- a/frontend/src/api/modules/host.ts +++ b/frontend/src/api/modules/host.ts @@ -76,7 +76,7 @@ export const searchFireRule = (params: Host.RuleSearch) => { return http.post>(`/hosts/firewall/search`, params); }; export const operateFire = (operation: string) => { - return http.post(`/hosts/firewall/operate`, { operation: operation }); + return http.post(`/hosts/firewall/operate`, { operation: operation }, 40000); }; export const operatePortRule = (params: Host.RulePort) => { return http.post(`/hosts/firewall/port`, params); diff --git a/frontend/src/views/host/firewall/ip/index.vue b/frontend/src/views/host/firewall/ip/index.vue index 2d502eef2..64320a9e6 100644 --- a/frontend/src/views/host/firewall/ip/index.vue +++ b/frontend/src/views/host/firewall/ip/index.vue @@ -35,9 +35,7 @@ diff --git a/frontend/src/views/host/firewall/port/index.vue b/frontend/src/views/host/firewall/port/index.vue index 8e42ca358..106d98e0a 100644 --- a/frontend/src/views/host/firewall/port/index.vue +++ b/frontend/src/views/host/firewall/port/index.vue @@ -67,9 +67,7 @@