670小问题修复
This commit is contained in:
@ -152,6 +152,7 @@
|
||||
these = this;
|
||||
this.EquipMents = [];
|
||||
ble = bleTool.getBleTool();
|
||||
|
||||
ble.addDeviceFound((arr) => {
|
||||
|
||||
arr = arr.devices;
|
||||
@ -201,7 +202,10 @@
|
||||
|
||||
// this.EquipMents = [];
|
||||
this.PairEquip = [];
|
||||
ble && ble.StartSearch().catch((ex) => {
|
||||
ble && ble.StartSearch().then(res=>{
|
||||
console.log("开始搜索成功",res);
|
||||
}).catch((ex) => {
|
||||
console.log("开始搜索出现异常",ex);
|
||||
if (ex.code == 10001) {
|
||||
these.showOpenSetting();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user