v0.8.5测试

This commit is contained in:
2026-04-16 10:36:34 +08:00
parent 4cbf294cd9
commit 112dc94f7c
12 changed files with 297 additions and 90 deletions

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 = '--';
}