2025年4月2日19:51:49

This commit is contained in:
17792275749
2025-04-02 19:51:52 +08:00
parent cb50138e38
commit 62091ee0c1
3 changed files with 33 additions and 19 deletions
+6
View File
@@ -110,6 +110,7 @@ Page({
// },
getDeviceSettingList() {
// app.globalData.ppScale.plugin.Blue.visibleLog(true);
this.setData({
initText: "设备搜索中..."
});
@@ -168,6 +169,11 @@ Page({
});
this.selectDevice();
});
app.globalData.ppScale.plugin.bus.subscribe("devicesModel", (res) => {
console.log("searchDevice ===》devicesModel", res);
app.globalData.ppScale.device.mac = res.deviceMac;
});
},
selectDevice() {