From 1b527126106e67b4c04486bb12bf56c217fc2087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=9D=B0?= Date: Fri, 20 Jun 2025 16:20:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BA=86=E6=96=B0=E8=82=A1?= =?UTF-8?q?=E7=A5=A8=E5=9C=BA=E6=99=AF=E5=BA=94=E7=94=A8=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E5=8A=A0=E8=BD=BD=E6=97=B6=E5=88=87=E6=8D=A2=E5=B7=B2=E6=B5=8F?= =?UTF-8?q?=E8=A7=88=E8=82=A1=E7=A5=A8=E4=BC=9A=E8=AE=A9=E5=B7=B2=E6=B5=8F?= =?UTF-8?q?=E8=A7=88=E8=82=A1=E7=A5=A8=E7=9A=84=E6=96=87=E6=9C=AC=E5=86=8D?= =?UTF-8?q?=E6=AC=A1=E4=BB=A5=E6=89=93=E5=AD=97=E6=9C=BA=E5=BD=A2=E5=BC=8F?= =?UTF-8?q?=E8=BE=93=E5=87=BA=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/AiEmotion.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/AiEmotion.vue b/src/views/AiEmotion.vue index e54c236..fb154ee 100644 --- a/src/views/AiEmotion.vue +++ b/src/views/AiEmotion.vue @@ -285,6 +285,8 @@ watch(currentStock, (newStock) => { isLoading.value = false; // 数据加载完成,关闭加载状态 // 停止当前播放的音频 stopAudio(); + // 清理正在进行的打字机效果定时器 + clearTypewriterTimers(); // 重置触发状态,让每个股票都能独立触发效果 hasTriggeredAudio.value = false; hasTriggeredTypewriter.value = false;