From b9ffcd1d38be85a1f50c5cdebe69731f1e6aa709 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Wed, 18 May 2022 09:57:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=92=AD=E6=94=BE=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_src/src/components/channelList.vue | 4 +++- web_src/src/components/dialog/devicePlayer.vue | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/channelList.vue b/web_src/src/components/channelList.vue index 21223ce1..2d62e29d 100644 --- a/web_src/src/components/channelList.vue +++ b/web_src/src/components/channelList.vue @@ -220,6 +220,7 @@ export default { method: 'get', url: '/api/play/start/' + deviceId + '/' + channelId }).then(function (res) { + console.log(res) that.isLoging = false; if (res.data.code === 0) { @@ -241,8 +242,9 @@ export default { that.$message.error(res.data.msg); } }).catch(function (e) { + console.error(e) that.isLoging = false; - that.$message.error("请求超时"); + // that.$message.error("请求超时"); }); }, queryRecords: function (itemData) { diff --git a/web_src/src/components/dialog/devicePlayer.vue b/web_src/src/components/dialog/devicePlayer.vue index 652a599c..4d4dbefa 100644 --- a/web_src/src/components/dialog/devicePlayer.vue +++ b/web_src/src/components/dialog/devicePlayer.vue @@ -313,7 +313,7 @@ export default { activePlayer: "jessibuca", // 如何你只是用一种播放器,直接注释掉不用的部分即可 player: { - // jessibuca : ["ws_flv", "wss_flv"], + jessibuca : ["ws_flv", "wss_flv"], webRTC: ["rtc", "rtc"], }, videoHistory: {