From 3051fc82ee1c265b509397579439a1e5806e278e Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: 星期三, 18 五月 2022 09:49:25 +0800 Subject: [PATCH] 添加直接支持切换多种开源播放器 --- web_src/src/components/channelList.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/web_src/src/components/channelList.vue b/web_src/src/components/channelList.vue index 7e0637c..21223ce 100644 --- a/web_src/src/components/channelList.vue +++ b/web_src/src/components/channelList.vue @@ -237,14 +237,16 @@ that.initData(); }, 1000) - } else { + }else{ that.$message.error(res.data.msg); } }).catch(function (e) { + that.isLoging = false; + that.$message.error("璇锋眰瓒呮椂"); }); }, queryRecords: function (itemData) { - var format = moment().format("YYYY-M-D"); + var format = moment().format("yyyy-MM-DD"); let deviceId = this.deviceId; let channelId = itemData.channelId; this.$refs.devicePlayer.openDialog("record", deviceId, channelId, {date: format}) -- Gitblit v1.8.0