v0.8.5测试

This commit is contained in:
canglan committed 2026-04-16 10:36:34 +08:00
1 parent 4cbf294cd9
commit 112dc94f7c
12 files changed
+297 -90

No files matched your search

+1 -1
View File
@@ -301,7 +301,7 @@ include __DIR__ . '/../includes/header.php';
const ranking = rankingRes.data.ranking || [];
const rank = ranking.find(s => s.student_id === parseInt(STUDENT_ID));
if (rank) {
document.getElementById('studentRank').textContent = `第${rank.rank}名 / ${ranking.length}人`;
document.getElementById('studentRank').textContent = rank.rank;
} else {
document.getElementById('studentRank').textContent = '--';
}