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;