fix(chat): persist packaged renderer diagnostics

This commit is contained in:
2977094657
2026-03-16 15:53:11 +08:00
Unverified
parent 64c3e5e826
commit 7c5a18a3b5
5 changed files with 187 additions and 0 deletions
+3
View File
@@ -94,6 +94,9 @@ const shouldLogChatBootstrap = () => isDesktopShell() || desktopDebugEnabled.val
const logChatBootstrap = (phase, details = {}) => {
if (!shouldLogChatBootstrap()) return
try {
window.wechatDesktop?.logDebug?.('chat-bootstrap', phase, details)
} catch {}
console.info(`[chat-bootstrap] ${phase}`, {
elapsedMs: chatBootstrapElapsedMs(),
route: route.fullPath,