From bc6936def115d2b7a1ef140f5345b0fc3915d8c9 Mon Sep 17 00:00:00 2001 From: ziyunhui Date: Mon, 12 Aug 2024 16:03:35 +0800 Subject: [PATCH] 2 --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 8e4524c..ce77e26 100644 --- a/index.html +++ b/index.html @@ -168,7 +168,7 @@ btn2.setAttribute('cidrgroup', 'proxy'); btn2.setAttribute('deviceid', list[i].id); btn2.append('切换至Proxy'); - td1.append(list[i].comment === '' ? list[i].host : list[i].comment); + td1.append(list[i].comment === undefined ? list[i].host : list[i].comment); td2.append(list[i].address); td3.append(list[i].mac); td4.append(btn1);