From 7c040e2a0fba8a5a3e600ae29992ca4d0b0b4dad Mon Sep 17 00:00:00 2001 From: lanrenwo Date: Mon, 4 Dec 2023 13:44:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=BB=A4=E6=96=87=E6=9C=AC=E6=A1=86?= =?UTF-8?q?=E5=86=85=E7=9A=84=E7=A9=BA=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/pages/group/List.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/src/pages/group/List.vue b/web/src/pages/group/List.vue index 298abae..97fdaae 100644 --- a/web/src/pages/group/List.vue +++ b/web/src/pages/group/List.vue @@ -346,7 +346,7 @@ @click.prevent="addDomain(ruleForm.link_acl)"> - + @@ -697,6 +697,9 @@ export default { let arr = []; for (let i = 0; i < ipList.length; i++) { let item = ipList[i]; + if (item.trim() === "") { + continue; + } let ip = item.split(","); if (ip.length > 2) { ip[1] = ip.slice(1).join(",");