1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-19 08:19:15 +08:00

fix: 解决防火墙 ip 规则删除失败的问题

This commit is contained in:
ssongliu 2023-08-31 15:44:11 +08:00
parent e5a7f104f1
commit 3e3b1f2c56

View File

@ -247,7 +247,7 @@ const onDelete = async (row: Host.RuleIP | null) => {
}
}
loading.value = true;
await batchOperateRule({ type: 'port', rules: rules })
await batchOperateRule({ type: 'address', rules: rules })
.then(() => {
loading.value = false;
MsgSuccess(i18n.global.t('commons.msg.operationSuccess'));