林旭祥 5 mēneši atpakaļ
vecāks
revīzija
e042fc779d
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      src/utils/speech.ts

+ 1 - 0
src/utils/speech.ts

@@ -143,6 +143,7 @@ export const playMusic = (url: any) => {
 
 //取消播放
 export const speckCancel = () => {
+  speechText = '';
   if (speech && browserSupport == true) {
     speech?.cancel();
   } else {