add alert

This commit is contained in:
Huang,Yonggang 2024-06-09 16:31:54 +08:00
parent cbb415c051
commit 0475f8357b
1 changed files with 3 additions and 2 deletions

View File

@ -187,13 +187,14 @@
Object.keys(data.PSMD).forEach(key => {
tableHTML += `<th>${key}</th>`;
});
alert(tableHTML);
tableHTML += '</tr>';
data.forEach(item => {
tableHTML += '<tr>';
tableHTML += `<tr><td>${item}</td>`;
alert(tableHTML);
Object.values(item).forEach(value => {
tableHTML += `<td>${value}</td>`;
alert(tableHTML);
});
tableHTML += '</tr>';
});