给吴鹏
This commit is contained in:
parent
d51e8c9006
commit
1b3e05cf81
|
@ -631,36 +631,7 @@ export default {
|
|||
} else {
|
||||
}
|
||||
})
|
||||
if(falg==0)
|
||||
{
|
||||
setTimeout(()=>{
|
||||
devicesarr.forEach(device => {
|
||||
const mac = device.name.substring(4)
|
||||
console.log(device.name, this.mac, '111')
|
||||
console.log("IOSMAC",device)
|
||||
console.log("device.name",device.name)
|
||||
console.log("that.mac",that.mac)
|
||||
|
||||
if (device.name.slice(-12) == that.mac.slice(-12)) {
|
||||
this.deviceId = device.deviceId
|
||||
console.log(this.deviceId, '11221');
|
||||
falg = 1;
|
||||
xBlufi.notifyStartDiscoverBle({
|
||||
'isStart': false
|
||||
})
|
||||
xBlufi.notifyConnectBle({
|
||||
isStart: true,
|
||||
deviceId: device.deviceId,
|
||||
name: that.mac
|
||||
})
|
||||
|
||||
} else {
|
||||
}
|
||||
})
|
||||
},2000)
|
||||
}
|
||||
|
||||
},1000)
|
||||
},3000)
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user