mirror of
https://hub.gitmirror.com/https://github.com/ExamAware/ExamShowboard-Legacy.git
synced 2025-04-29 16:06:34 +00:00
更新 infoPage.vue
This commit is contained in:
parent
32e53ea107
commit
636742865b
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user