Просмотр исходного кода

修正推流列表播放错误

lawrencehj 4 лет назад
Родитель
Сommit
f8abd26030
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      web_src/src/components/PushVideoList.vue

+ 2 - 2
web_src/src/components/PushVideoList.vue

@@ -133,7 +133,7 @@
 				this.getListLoading = true;
 				this.$axios({
 					method: 'get',
-					url:`/api/media/stream_info_by_app_and_stream`,
+					url: '/api/media/stream_info_by_app_and_stream',
 					params: {
 						app: row.app,
 						stream: row.stream,
@@ -142,7 +142,7 @@
 				}).then(function (res) {
 					that.getListLoading = false;
 					that.$refs.devicePlayer.openDialog("streamPlay", null, null, {
-                        streamInfo: res.data,
+                        streamInfo: res.data.data,
                         hasAudio: true
                     });
 				}).catch(function (error) {