Commit f8abd2603002eb6ff296d26f99042681d9b2bc92

Authored by lawrencehj
1 parent 324ae744

修正推流列表播放错误

web_src/src/components/PushVideoList.vue
@@ -133,7 +133,7 @@ @@ -133,7 +133,7 @@
133 this.getListLoading = true; 133 this.getListLoading = true;
134 this.$axios({ 134 this.$axios({
135 method: 'get', 135 method: 'get',
136 - url:`/api/media/stream_info_by_app_and_stream`, 136 + url: '/api/media/stream_info_by_app_and_stream',
137 params: { 137 params: {
138 app: row.app, 138 app: row.app,
139 stream: row.stream, 139 stream: row.stream,
@@ -142,7 +142,7 @@ @@ -142,7 +142,7 @@
142 }).then(function (res) { 142 }).then(function (res) {
143 that.getListLoading = false; 143 that.getListLoading = false;
144 that.$refs.devicePlayer.openDialog("streamPlay", null, null, { 144 that.$refs.devicePlayer.openDialog("streamPlay", null, null, {
145 - streamInfo: res.data, 145 + streamInfo: res.data.data,
146 hasAudio: true 146 hasAudio: true
147 }); 147 });
148 }).catch(function (error) { 148 }).catch(function (error) {