Skip to content

Commit 6bc00eb

Browse files
authored
fix: During the debugging process, the browser voice will automatically play after returning to other pages (#2794)
1 parent 1eccb54 commit 6bc00eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue

+2
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,8 @@ onMounted(() => {
536536
})
537537
})
538538
onBeforeUnmount(() => {
539+
bus.off('change:answer')
540+
bus.off('play:pause')
539541
if (audioManage.value) {
540542
audioManage.value.pause()
541543
}

0 commit comments

Comments
 (0)