wujingjing
2025-04-02 5fb58c10b2bb44b3f2d3bdab4d7a6619271e2bbf
src/components/chat/hooks/useAssistantContentOpt.ts
@@ -143,6 +143,7 @@
      isEnterStop = false;
      const instance = BrowserSpeechSynthesis.getInstance();
      instance.cancel();
      activeSpeakItem.value = null;
   };
   const speechClick = (item) => {
@@ -162,6 +163,9 @@
      activeSpeakItem.value = item;
      const instance = BrowserSpeechSynthesis.getInstance();
      instance.onEnd(() => {
         resetSpeak();
      });
      if (isEnterStop) {
         instance.resume();
      } else {