From 58db4ed90106d4db839ee7ab637a06c5048efcca Mon Sep 17 00:00:00 2001 From: CaptainB Date: Sat, 12 Jul 2025 11:07:19 +0800 Subject: [PATCH] fix: update audio playback status to PLAY_INT when resuming speech synthesis MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1058601 --user=刘瑞斌 【应用】浏览器播放-点击暂停&继续播放-连续两次相同操作-第二次未继续播放,而是重新播放了 https://www.tapd.cn/62980211/s/1729699 --- .../ai-chat/component/operation-button/ChatOperationButton.vue | 1 + 1 file changed, 1 insertion(+) 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 adaeb64cd..e1d3b0706 100644 --- a/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue +++ b/ui/src/components/ai-chat/component/operation-button/ChatOperationButton.vue @@ -466,6 +466,7 @@ class AudioManage { } else { if (window.speechSynthesis.paused) { window.speechSynthesis.resume() + this.statusList[index] = AudioStatus.PLAY_INT } else { // 如果不是暂停状态,取消当前播放并重新开始 if (window.speechSynthesis.speaking) {