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