From 955d42884b83c0815b9c9722edd26501c176e8b5 Mon Sep 17 00:00:00 2001 From: hzz Date: Tue, 11 Jul 2023 09:52:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=8E=AF=E5=A2=83=E5=A4=A7?= =?UTF-8?q?=E5=B1=8F=E7=B2=89=E5=B0=98=E7=9B=91=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/moduleSocket.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/store/moduleSocket.ts b/src/store/moduleSocket.ts index 9e83ebe..34c705a 100644 --- a/src/store/moduleSocket.ts +++ b/src/store/moduleSocket.ts @@ -172,20 +172,20 @@ export const useSocketStore = defineStore(Names.socket, { * @函数备注: */ changePM(val) { - let arr = ['083e3900-3435-11ed-a7e1-fd42bca6c8c6', 'bcbfb530-88b2-11ed-a926-570995ad0254', '01336fd0-1fa0-11ed-9223-7db1174970a8'] + let arr = ['25c78580-1594-11ee-b4df-a9653aef169c', '2e0310c0-1594-11ee-b4df-a9653aef169c', '6bbbb1b0-1594-11ee-b4df-a9653aef169c'] // if (arr.indexOf(val.devId) > -1) { // console.log(val,'这三个设备'); // } - if (val.devId == '083e3900-3435-11ed-a7e1-fd42bca6c8c6') { + if (val.devId == '2e0310c0-1594-11ee-b4df-a9653aef169c') { this.pm.welding.two = val.pm25 this.pm.welding.ten = val.pm10 - } else if (val.devId == 'bcbfb530-88b2-11ed-a926-570995ad0254') { + } else if (val.devId == '6bbbb1b0-1594-11ee-b4df-a9653aef169c') { this.pm.ornaments.two = val.pm25 this.pm.ornaments.ten = val.pm10 - } else if (val.devId == '01336fd0-1fa0-11ed-9223-7db1174970a8') { + } else if (val.devId == '25c78580-1594-11ee-b4df-a9653aef169c') { this.pm.stuff.two = val.pm25 this.pm.stuff.ten = val.pm10 }