소스 검색

日常开发

林旭祥 6 달 전
부모
커밋
e042fc779d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 {