添加退出当前页面关闭声音

This commit is contained in:
kron
2025-11-13 11:58:16 +08:00
parent cfc9912a4a
commit 24996a4b35
6 changed files with 10 additions and 2 deletions

View File

@@ -297,6 +297,7 @@ onBeforeUnmount(() => {
keepScreenOn: false,
});
uni.$off("socket-inbox", onReceiveMessage);
audioManager.stopAll();
});
const refreshTimer = ref(null);
onShow(async () => {