From 5e182d84d0a6fc0527ae1c04caab8656839ae3e7 Mon Sep 17 00:00:00 2001
From: ssongliu <73214554+ssongliu@users.noreply.github.com>
Date: Wed, 30 Aug 2023 10:30:09 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=20=E9=98=B2=E7=81=AB=E5=A2=99=E6=94=AF?=
=?UTF-8?q?=E6=8C=81=E5=88=A0=E9=99=A4=E7=B3=BB=E7=BB=9F=E5=8D=A0=E7=94=A8?=
=?UTF-8?q?=E7=AB=AF=E5=8F=A3=20(#2116)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
frontend/src/views/host/firewall/port/index.vue | 13 +------------
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/frontend/src/views/host/firewall/port/index.vue b/frontend/src/views/host/firewall/port/index.vue
index 743f7ab05..ee05153ee 100644
--- a/frontend/src/views/host/firewall/port/index.vue
+++ b/frontend/src/views/host/firewall/port/index.vue
@@ -68,7 +68,7 @@
@search="search"
:data="data"
>
-
+
@@ -87,7 +87,6 @@
{
});
};
-function selectable(row) {
- return row.appName !== '1panel';
-}
-
const buttons = [
{
label: i18n.global.t('commons.button.edit'),
click: (row: Host.RulePort) => {
onOpenDialog('edit', row);
},
- disabled: (row: any) => {
- return row.appName === '1panel';
- },
},
{
label: i18n.global.t('commons.button.delete'),
click: (row: Host.RuleInfo) => {
onDelete(row);
},
- disabled: (row: any) => {
- return row.appName === '1panel';
- },
},
];