|
@@ -121,7 +121,7 @@ Page({
|
|
|
that.addConnectBlueDevice(connectDevice);
|
|
|
}
|
|
|
})
|
|
|
- } else {}
|
|
|
+ } else { }
|
|
|
})
|
|
|
}
|
|
|
},
|
|
@@ -920,7 +920,8 @@ Page({
|
|
|
deviceId: newDevice.deviceId,
|
|
|
name: newDevice.name,
|
|
|
state: "online",
|
|
|
- ProdModel: 1,
|
|
|
+ ProdModel: newDevice.ProdModel,
|
|
|
+ clientType: newDevice.ProdModel,
|
|
|
devName: newDevice.name,
|
|
|
mac: newDevice.mac,
|
|
|
img: newDevice.img,
|
|
@@ -1047,6 +1048,7 @@ Page({
|
|
|
that.setData({
|
|
|
deviceList: finalList
|
|
|
});
|
|
|
+ console.log("更新设备列表:", finalList);
|
|
|
getApp().globalData.deviceList = finalList;
|
|
|
},
|
|
|
|