ソースを参照

解决播放录像报错问题

hotleave 4 年 前
コミット
c0e9676fda
1 ファイル変更1 行追加1 行削除
  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;
                 });
             }