From 648f3c4ca94dd013c8ca4f943015fcfb5b5c1731 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E8=8A=B1=E4=B8=80=E4=B8=96=E6=9C=88?= <1149505133@qq.com> Date: Wed, 7 Aug 2024 19:36:26 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=89=A9=E8=81=94=E7=BD=91):=20=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E6=B7=BB=E5=8A=A0kw=EF=BC=8C=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E5=A4=9A=E9=80=89=E6=9C=AA=E7=94=9F=E6=95=88bug,=E5=8D=87?= =?UTF-8?q?=E7=BA=A71.0.34?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manifest.json | 4 ++-- pages/iots/device/device-ability-detail.vue | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/manifest.json b/manifest.json index a543344..8fa087c 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "物联网可视化", "appid" : "__UNI__604B8F1", "description" : "", - "versionName" : "1.0.32", - "versionCode" : 1032, + "versionName" : "1.0.34", + "versionCode" : 1034, "transformPx" : false, /* 5+App特有相关 */ "app-plus" : { diff --git a/pages/iots/device/device-ability-detail.vue b/pages/iots/device/device-ability-detail.vue index 8921a50..abf7b2e 100644 --- a/pages/iots/device/device-ability-detail.vue +++ b/pages/iots/device/device-ability-detail.vue @@ -175,13 +175,16 @@ if(this.verification()){ let obj = {}; this.dataList.forEach((item)=>{ - obj[item.ioKey]=item.value + if(item.checked){ + obj[item.ioKey]=item.value + } }) let params = { ac:'write', d:this.devId, pk:this.pk, - p:obj + p:obj, + kw:this.abilityObj.identifier } this.$api.iotsApi.downDeviceAbility(params).then(res => { console.log("下发数据成功",res)