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 e1d3b0706..6a6018fd1 100644 --- a/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue +++ b/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue @@ -537,7 +537,7 @@ onMounted(() => { const record_id = data.record_id bus.emit('play:pause', record_id) if (props.data.record_id == record_id) { - if (props.tts && props.tts_autoplay && data.is_end) { + if (props.tts && props.tts_autoplay) { if (audioManage.value) { audioManage.value.play(props.data.answer_text, data.is_end) }