处理固件调用时机的问题
This commit is contained in:
@@ -123,6 +123,11 @@ Page({
|
||||
device: device
|
||||
})
|
||||
ppScale.plugin.Blue.createBLEConnection(device);
|
||||
|
||||
ppScale.plugin.bus.subscribe("deviceInfo", (res) => {
|
||||
console.log("===》deviceInfo", res);
|
||||
ppScale.device.version = res;
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user