From 4e13489366b31b3641ca37e9c41ec5f4ae41958c Mon Sep 17 00:00:00 2001
From: mk1990 <153958232@qq.com>
Date: 星期三, 25 五月 2022 13:39:34 +0800
Subject: [PATCH] 解决设备第一次注册获取不到设备信息和通道信息的问题

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

diff --git a/web_src/src/components/channelList.vue b/web_src/src/components/channelList.vue
index 21223ce..2d62e29 100644
--- a/web_src/src/components/channelList.vue
+++ b/web_src/src/components/channelList.vue
@@ -220,6 +220,7 @@
         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 @@
           that.$message.error(res.data.msg);
         }
       }).catch(function (e) {
+        console.error(e)
         that.isLoging = false;
-        that.$message.error("璇锋眰瓒呮椂");
+        // that.$message.error("璇锋眰瓒呮椂");
       });
     },
     queryRecords: function (itemData) {

--
Gitblit v1.8.0