Explorar o código

解决播放录像报错问题

hotleave %!s(int64=4) %!d(string=hai) anos
pai
achega
c0e9676fda
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;
                 });
             }