", currentAnnouncementId);
    localStorage.setItem("announcementNotice", currentAnnouncement);
    closeannouncementNotice();
  }

  // 在页面加载完成后检查localStorage
  document.addEventListener('DOMContentLoaded', checkLocalStorage);
</script>