fix: dual id/name matching for installed + console.error on all catches

This commit is contained in:
2026-07-27 09:31:26 +08:00
parent 1c73ec9db6
commit e3afb2ac9b
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ const Topbar = {
this._statusEl.className = `status-indicator ${wsStatus}`;
this._statusEl.querySelector('.status-text').textContent =
wsStatus === 'connected' ? `已连接 (${status.ws_clients})` : '未连接';
} catch (e) {}
} catch (e) { console.error(e); }
}
};