From 65394d652e4bd5cafd905b65e16a849b4671a3f9 Mon Sep 17 00:00:00 2001 From: hwj Date: Wed, 22 Jul 2026 09:24:49 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E8=AE=BE=E5=A4=87=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B/=E7=89=A9=E8=81=94=E8=AE=BE=E5=A4=87-=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=8E=A5=E5=8F=A3=E6=B7=BB=E5=8A=A0=E5=80=8D=E7=8E=87?= =?UTF-8?q?=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/iot/device/components/DeviceAttributeForm.vue | 2 +- .../iot/devicemodel/components/DeviceModelAttributeForm.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/iot/device/components/DeviceAttributeForm.vue b/src/views/iot/device/components/DeviceAttributeForm.vue index 17b35c37..b2761d3e 100644 --- a/src/views/iot/device/components/DeviceAttributeForm.vue +++ b/src/views/iot/device/components/DeviceAttributeForm.vue @@ -202,7 +202,7 @@ const buildSubmitData = () => { dataType, address, dataUnit, - ratio: ratioEnabled.value ? ratio : undefined, + ratio, remark, deviceId } diff --git a/src/views/iot/devicemodel/components/DeviceModelAttributeForm.vue b/src/views/iot/devicemodel/components/DeviceModelAttributeForm.vue index 82dd26ee..d1c2fe57 100644 --- a/src/views/iot/devicemodel/components/DeviceModelAttributeForm.vue +++ b/src/views/iot/devicemodel/components/DeviceModelAttributeForm.vue @@ -173,7 +173,7 @@ const buildSubmitData = () => { dataType, address, dataUnit, - ratio: ratioEnabled.value ? ratio : undefined, + ratio, remark, deviceModelId }