mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-28 13:31:32 +08:00
fix: 解决防火墙搜索报错的问题 (#2256)
This commit is contained in:
parent
a364dbffbf
commit
ac91480987
@ -76,7 +76,7 @@ export const searchFireRule = (params: Host.RuleSearch) => {
|
||||
return http.post<ResPage<Host.RuleInfo>>(`/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<Host.RulePort>(`/hosts/firewall/port`, params);
|
||||
|
@ -35,9 +35,7 @@
|
||||
<el-input
|
||||
v-model="searchName"
|
||||
clearable
|
||||
@clear="search()"
|
||||
suffix-icon="Search"
|
||||
@keyup.enter="search()"
|
||||
@change="search()"
|
||||
:placeholder="$t('commons.button.search')"
|
||||
></el-input>
|
||||
|
@ -67,9 +67,7 @@
|
||||
<el-input
|
||||
v-model="searchName"
|
||||
clearable
|
||||
@clear="search()"
|
||||
suffix-icon="Search"
|
||||
@keyup.enter="search()"
|
||||
@change="search()"
|
||||
:placeholder="$t('commons.button.search')"
|
||||
></el-input>
|
||||
|
Loading…
Reference in New Issue
Block a user