Procházet zdrojové kódy

修复无法播放音频的问题

vothin před 2 roky
rodič
revize
26cccb898c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
           }