From cc952e012199b71dbe2e90adb99c50ea6588a21a Mon Sep 17 00:00:00 2001 From: no99 <17663930442@163.com> Date: Sat, 16 Aug 2025 09:53:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E5=9C=A8=E6=92=AD=E6=94=BE=E5=85=B6?= =?UTF-8?q?=E4=BB=96=E9=9F=B3=E9=A2=91=E7=9A=84=E8=BF=87=E7=A8=8B=E4=B8=AD?= =?UTF-8?q?=EF=BC=8C=E5=8F=91=E9=80=81=E6=B6=88=E6=81=AF=E5=90=8E=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E6=96=B0=E9=9F=B3=E9=A2=91=E6=97=B6=EF=BC=8C=E6=97=A7?= =?UTF-8?q?=E9=9F=B3=E9=A2=91=E6=8C=89=E9=92=AE=E7=8A=B6=E6=80=81=E6=9C=AA?= =?UTF-8?q?=E6=94=B9=E5=8F=98=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/AIchat.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/AIchat.vue b/src/views/AIchat.vue index 779405b..f0ffef9 100644 --- a/src/views/AIchat.vue +++ b/src/views/AIchat.vue @@ -1064,6 +1064,10 @@ watch( previousMessagesLength.value = newVal.length; if (newVal.length > 0) { // 清理语音下标 + console.log("chatStore.currentUserIndex", chatStore.currentUserIndex); + if (chatStore.currentUserIndex!=null) { + chatStore.messages[chatStore.currentUserIndex].audioStatus = false; + } chatStore.currentUserIndex = null; audioStore.stop(); // 暂停语音