From 276637363293e85b5ab3cdc9f5c16c3e3b823b78 Mon Sep 17 00:00:00 2001 From: 648540858 <18010473990@163.com> Date: 星期日, 26 九月 2021 11:45:03 +0800 Subject: [PATCH] 修复默认media未保存到数据库的bug --- web_src/src/components/PushVideoList.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/PushVideoList.vue b/web_src/src/components/PushVideoList.vue index bdc086c..8bf71c5 100644 --- a/web_src/src/components/PushVideoList.vue +++ b/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) { -- Gitblit v1.8.0