소스 검색

修复无法播放音频的问题

vothin 2 년 전
부모
커밋
26cccb898c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/ncs-interaction/index.vue

+ 1 - 1
src/views/ncs-interaction/index.vue

@@ -546,7 +546,7 @@ export default {
         if (res.length !== 0) {
           if (res[0].endsWith("webm")) {
             this.streamingType = true
-          } else if (resp[0].endsWith("opus")) {
+          } else if (res[0].endsWith("opus")) {
             this.streamingType = false
           }