From 0390ab43465d04c9dde8546975ae0c2feaf2d38c Mon Sep 17 00:00:00 2001 From: hzz Date: Tue, 19 Dec 2023 08:20:23 +0800 Subject: [PATCH] update --- src/components/assembly/indexList.vue | 1 + src/views/MicroExhibition/index.vue | 6 +++--- src/views/Offsite/child/childContent/left.vue | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/assembly/indexList.vue b/src/components/assembly/indexList.vue index 64f84e1..2adadf1 100644 --- a/src/components/assembly/indexList.vue +++ b/src/components/assembly/indexList.vue @@ -39,6 +39,7 @@ function routerpush(isLink:boolean=false) { width: 20%; height: 27%; margin: 30px; + cursor: pointer; } .img { diff --git a/src/views/MicroExhibition/index.vue b/src/views/MicroExhibition/index.vue index f1b7fe3..242c8fe 100644 --- a/src/views/MicroExhibition/index.vue +++ b/src/views/MicroExhibition/index.vue @@ -257,9 +257,9 @@ function getWebsocket(val) { let data = JSON.parse(val) - // if (data.type == 'StateChart') { - // store.setDevnum(data.msg) - // } + if (data.type == 'mDeviceStatus') { + changestatus(data.msg) + } // if (data.type == 'WorkingState') { // store.changestatus(data.msg) // } diff --git a/src/views/Offsite/child/childContent/left.vue b/src/views/Offsite/child/childContent/left.vue index ffad4a6..730d8d9 100644 --- a/src/views/Offsite/child/childContent/left.vue +++ b/src/views/Offsite/child/childContent/left.vue @@ -92,7 +92,6 @@ let a = [...new Set(imagedata)] //删除图片后处理 imagedata=[] -console.log(a,'111'); a.forEach((res,index)=>{ imagedata.push({image:res,id:index}) })