update: 拨号成功后开启自动录音

This commit is contained in:
lww155
2026-01-15 09:19:25 +08:00
parent ecd3e12a41
commit fa31096cd8
2 changed files with 23 additions and 0 deletions
+6
View File
@@ -83,6 +83,12 @@ if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', () => app.init());
} else {
app.init();
window.addEventListener('beforeunload', () => {
// 销毁定时器
if (app.uiController && app.uiController.wsTimer) {
clearInterval(app.uiController.wsTimer);
}
});
}
export default app;