fix: 修复由于彻底移除酷库面板导致的JS切换Tab报错
This commit is contained in:
@@ -43,8 +43,8 @@
|
||||
|
||||
// ── Tab 切换 ──────────────────────────────────────
|
||||
function switchTab(tab) {
|
||||
// 切换名单/房间/酷库 面板
|
||||
['users', 'rooms', 'action'].forEach(t => {
|
||||
// 切换名单/房间 面板
|
||||
['users', 'rooms'].forEach(t => {
|
||||
document.getElementById('panel-' + t).style.display = t === tab ? 'block' : 'none';
|
||||
document.getElementById('tab-' + t)?.classList.toggle('active', t === tab);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user