From 95263d147bf82ae83ce72adce7b4d7ef9d719920 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Tue, 15 Jul 2025 11:46:34 +0800 Subject: [PATCH] fix: remove unnecessary condition in play/pause logic for audio management MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1058773 --user=刘瑞斌 【应用】语音播放开启自动播放,问答时没有流式播放 https://www.tapd.cn/62980211/s/1731458 --- .../ai-chat/component/operation-button/ChatOperationButton.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }