From 34dd311567a78347a07c41ddd135b8384ceeb571 Mon Sep 17 00:00:00 2001 From: zifan <1461978311@qq.com> Date: Fri, 22 Sep 2023 11:03:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4fw.html=E6=96=B0=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- www/fw.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/www/fw.html b/www/fw.html index a4a3ea4..aaa3a8e 100755 --- a/www/fw.html +++ b/www/fw.html @@ -42,9 +42,8 @@ -
ID | ip地址 | @@ -59,12 +58,10 @@ data.forEach(rowData => { let tr = document.createElement("tr"); let td1 = document.createElement("td"); - let td2 = document.createElement("td"); - td1.innerText = rowData.id; - td2.innerText = rowData.ip; + td1.innerText = rowData.ip; - tr.append(td1, td2); + tr.append(td1); blackTableBody.append(tr); }); }
---|