更新 infoPage.vue

This commit is contained in:
Jursin 2024-12-01 16:30:08 +08:00 committed by GitHub
parent 32e53ea107
commit 636742865b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ const scheduleNextUpdate = () => {
if (nextExam) { if (nextExam) {
const nextEndTime = new Date(nextExam.end).getTime(); const nextEndTime = new Date(nextExam.end).getTime();
const now = Date.now(); const now = Date.now();
const delay = nextEndTime - now + 60000; const delay = nextEndTime - now + 60000; // Next exam end time + 1 minute
timeout = setTimeout(() => { timeout = setTimeout(() => {
updateCurrentExam(); updateCurrentExam();