mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
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