fix: During the debugging process, the browser voice will automatically play after returning to other pages (#2794)
parent
1eccb54199
commit
6bc00eb869
|
|
@ -536,6 +536,8 @@ onMounted(() => {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
onBeforeUnmount(() => {
|
onBeforeUnmount(() => {
|
||||||
|
bus.off('change:answer')
|
||||||
|
bus.off('play:pause')
|
||||||
if (audioManage.value) {
|
if (audioManage.value) {
|
||||||
audioManage.value.pause()
|
audioManage.value.pause()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue