uniapps/work-app/src/subPackages/voiceCallDetail/index.vue
@@ -11,6 +11,8 @@ import { useUserStore } from "@/store/index.js" import { getWebViewUrl } from "@/utils/index.js"; import { onLoad } from "@dcloudio/uni-app"; import {cancelIncomingCallNotification } from '@/uni_modules/lgh-dialog' const userStore = useUserStore() const userParams = userStore?.userInfo ? JSON.stringify(userStore.userInfo) : '{}' const sWebViewRef = ref(null); @@ -84,6 +86,13 @@ } } // 监听离开 onUnload(() => { // #ifdef APP-PLUS cancelIncomingCallNotification() // #endif }) </script> <style lang="scss" scoped>