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 @@