diff --git a/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue b/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue index 8f6478214..0c69360a2 100644 --- a/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue +++ b/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue @@ -539,6 +539,9 @@ onBeforeUnmount(() => { if (audioManage.value) { audioManage.value.pause() } + if (window.speechSynthesis) { + window.speechSynthesis.cancel() + } })