From d62f1bdddeb9e5d0412468ac36bc2edfa6606d9d Mon Sep 17 00:00:00 2001 From: fhysy <1149505133@qq.com> Date: Tue, 10 Sep 2024 09:39:50 +0800 Subject: [PATCH] =?UTF-8?q?=20fast(=E5=AE=9E=E6=97=B6=E7=8A=B6=E6=80=81):?= =?UTF-8?q?=20=E8=A7=A3=E5=86=B3=E5=88=9D=E5=A7=8B=E5=8C=96=E7=A6=BB?= =?UTF-8?q?=E7=BA=BF=E5=9C=A8=E7=BA=BF=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/profile/DeviceDetailsView/deviceSelectNav.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/profile/DeviceDetailsView/deviceSelectNav.vue b/src/views/profile/DeviceDetailsView/deviceSelectNav.vue index 8fa677f2..dad49589 100644 --- a/src/views/profile/DeviceDetailsView/deviceSelectNav.vue +++ b/src/views/profile/DeviceDetailsView/deviceSelectNav.vue @@ -462,6 +462,11 @@ export default { e["deviceState"] || (e["switch"] !== null && e["switch"] !== undefined) ) { + if(e["switch"] == "1"){ + e["switch"] = 1 + }else if(e["switch"] == "0"){ + e["switch"] = 0 + } this.handleDeviceInfo(e); } },