From 4d3f0a8d790afea1a3f577ac07cfea258457ebc2 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期五, 13 五月 2022 15:41:50 +0800
Subject: [PATCH] 优化海康国标录像播放的控制

---
 web_src/src/components/channelList.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/web_src/src/components/channelList.vue b/web_src/src/components/channelList.vue
index 7e0637c..9c7ab8e 100644
--- a/web_src/src/components/channelList.vue
+++ b/web_src/src/components/channelList.vue
@@ -237,14 +237,14 @@
             that.initData();
           }, 1000)
 
-        } 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