From 936adf31fee0a9f66971982eae3a8002d58eb037 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期四, 02 六月 2022 09:31:06 +0800
Subject: [PATCH] Merge pull request #504 from TristingChen/fixed--reset-channel
---
web_src/src/components/channelList.vue | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/web_src/src/components/channelList.vue b/web_src/src/components/channelList.vue
index 9c7ab8e..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) {
@@ -237,10 +238,13 @@
that.initData();
}, 1000)
+ }else{
+ 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