提交fw.html新版
This commit is contained in:
parent
416b3d287a
commit
34dd311567
|
@ -42,9 +42,8 @@
|
|||
<button type="submit">添加</button>
|
||||
<button type="button" id="del">删除</button>
|
||||
</form>
|
||||
<table class="balckTable back" width="350" align="center" border="1" cellspacing="0">
|
||||
<table class="balckTable back" width="250" align="center" border="1" cellspacing="0">
|
||||
<thead>
|
||||
<th>ID</th>
|
||||
<th>ip地址</th>
|
||||
</thead>
|
||||
<tbody id="blackTableBody" align="center">
|
||||
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue