Add files via upload

This commit is contained in:
公明
2026-05-04 13:07:37 +08:00
committed by GitHub
parent 9b4c6dedc8
commit b27e443d37
5 changed files with 100 additions and 0 deletions
+3
View File
@@ -65,6 +65,9 @@ function initRouter() {
// 切换页面
function switchPage(pageId) {
if (typeof window.syncC2NavOnceFromServer === 'function') {
void window.syncC2NavOnceFromServer();
}
// 隐藏所有页面
document.querySelectorAll('.page').forEach(page => {
page.classList.remove('active');