From 120eaa534e18749cc3e6aba0772e90fbdd790f5b Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Thu, 19 Nov 2020 16:11:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=87=AA=E5=8A=A8=E9=80=9A?= =?UTF-8?q?=E9=81=93=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web_src/src/components/channelList.vue | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/web_src/src/components/channelList.vue b/web_src/src/components/channelList.vue index b3872eed..4c39a3f8 100644 --- a/web_src/src/components/channelList.vue +++ b/web_src/src/components/channelList.vue @@ -104,7 +104,7 @@ export default { mounted() { this.initData(); - // this.updateLooper = setInterval(this.initData, 10000); + this.updateLooper = setInterval(this.initData, 10000); }, destroyed() { this.$destroy('videojs'); @@ -173,24 +173,6 @@ export default { }, - //gb28181平台对接 - //刷新设备信息 - refDevice: function (itemData) { - ///api/devices/{deviceId}/sync - console.log("刷新对应设备:" + itemData.deviceId); - this.$axios({ - method: 'post', - url: '/api/devices/' + itemData.deviceId + '/sync' - }).then(function (res) { - // console.log("刷新设备结果:"+JSON.stringify(res)); - }).catch(function (e) { - that.$message({ - showClose: true, - message: '请求成功', - type: 'success' - }); - }); - }, //通知设备上传媒体流 sendDevicePush: function (itemData) { console.log(itemData)