From b1f7f360ea8b23a08b5e06edd699ef06cf67d1dc Mon Sep 17 00:00:00 2001 From: MKStoler1024 <158786854+MKStoler1024@users.noreply.github.com> Date: Sat, 1 Feb 2025 14:48:20 +0000 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E5=A4=8D=E6=9C=AA=E5=AE=9A?= =?UTF-8?q?=E4=B9=89=E6=88=BF=E9=97=B4=E6=97=B6=E7=9A=84=E5=A4=84=E7=90=86?= =?UTF-8?q?=E9=80=BB=E8=BE=91=EF=BC=8C=E7=A1=AE=E4=BF=9D=E6=AD=A3=E7=A1=AE?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=88=BF=E9=97=B4=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ExamCloudSchedule/script.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ExamCloudSchedule/script.js b/ExamCloudSchedule/script.js index afc97a7..df54025 100644 --- a/ExamCloudSchedule/script.js +++ b/ExamCloudSchedule/script.js @@ -39,6 +39,10 @@ document.addEventListener("DOMContentLoaded", () => { return fetch(`/get_config.php?id=${encodeURIComponent(configId)}`, { cache: "no-store" }) // 不保留缓存 .then(response => response.json()) .then(data => { + if (!room) { + room = data.room; + roomElem.textContent = room; + } displayExamInfo(data); updateCurrentTime(); updateExamInfo(data);