Sfoglia il codice sorgente

解决播放录像报错问题

hotleave 4 anni fa
parent
commit
c0e9676fda
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      web_src/src/components/dialog/devicePlayer.vue

+ 1 - 1
web_src/src/components/dialog/devicePlayer.vue

@@ -425,7 +425,7 @@ export default {
                 }).then(function (res) {
                     var streamInfo = res.data;
                     that.streamId = streamInfo.streamId;
-                    that.videoUrl = this.getUrlByStreamInfo(streamInfo);
+                    that.videoUrl = that.getUrlByStreamInfo(streamInfo);
                     that.recordPlay = true;
                 });
             }