From 838c61a6f0433c8b89a7bfda9975057d0b933202 Mon Sep 17 00:00:00 2001 From: qiushui Date: Tue, 4 Jan 2022 19:23:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=98=E7=82=B9=E7=AE=A1=E7=90=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/checkManage/Subsection.vue | 2 +- src/views/realTimeMonitoring/index.vue | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/checkManage/Subsection.vue b/src/views/checkManage/Subsection.vue index 84d45ce..63b394b 100644 --- a/src/views/checkManage/Subsection.vue +++ b/src/views/checkManage/Subsection.vue @@ -191,7 +191,7 @@ export default { }, getStatus(){ - if(this.shelveId == {}){ + if(JSON.stringify(this.shelveId) == "{}"){ return; } var columnTab = [] diff --git a/src/views/realTimeMonitoring/index.vue b/src/views/realTimeMonitoring/index.vue index 8f6323e..19b6412 100644 --- a/src/views/realTimeMonitoring/index.vue +++ b/src/views/realTimeMonitoring/index.vue @@ -108,6 +108,7 @@ export default { }) }, autoPlay(){ + this.players = [] for(var a of this.realTimeListData){ for (let b of a.cameras){ let video = document.getElementById('camera'+b.id);