2025年4月2日19:51:49
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user