chore: recover id in rank

This commit is contained in:
2024-09-25 11:01:07 +08:00
parent 1ba7facb59
commit 7a96b00756
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -32,6 +32,7 @@
<thead> <thead>
<tr> <tr>
<th>时间</th> <th>时间</th>
<th>学号</th>
<th>名称</th> <th>名称</th>
<th>得分</th> <th>得分</th>
<th>运行时间</th> <th>运行时间</th>
@@ -39,7 +40,6 @@
</tr> </tr>
</thead> </thead>
<tbody id="data-table-body"> <tbody id="data-table-body">
<!-- 动态填充表格数据 -->
</tbody> </tbody>
</table> </table>
<div id="detailsModal" class="modal"> <div id="detailsModal" class="modal">
+1
View File
@@ -10,6 +10,7 @@
<thead> <thead>
<tr> <tr>
<th>时间</th> <th>时间</th>
<th>学号</th>
<th>名称</th> <th>名称</th>
<th>得分</th> <th>得分</th>
<th>运行时间</th> <th>运行时间</th>
+1
View File
@@ -11,6 +11,7 @@ async function fetchData() {
row.innerHTML = ` row.innerHTML = `
<td>${item.time}</td> <td>${item.time}</td>
<td>${item.id}</td>
<td>${item.name}</td> <td>${item.name}</td>
<td>${item.score}</td> <td>${item.score}</td>
<td>${item.running_time}</td> <td>${item.running_time}</td>