From debfb2222fe99f38ee6476ee6437f99d3616eaa3 Mon Sep 17 00:00:00 2001 From: 钢翼 <659240788@qq.com> Date: 星期二, 17 五月 2022 08:18:38 +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