|
@@ -91,12 +91,12 @@ export default {
|
|
});
|
|
});
|
|
xBlufi.listenDeviceMsgEvent(false, this.funListenDeviceMsgEvent);
|
|
xBlufi.listenDeviceMsgEvent(false, this.funListenDeviceMsgEvent);
|
|
|
|
|
|
- this.connectedId = item.id;
|
|
|
|
- console.log(this.connectedId, 'this.connectedId');
|
|
|
|
- const ready = await this.ensureBtReady();
|
|
|
|
- console.log(ready, 'ready');
|
|
|
|
- if (!ready) return;
|
|
|
|
- await this.closeBluetooth();
|
|
|
|
|
|
+ // this.connectedId = item.id;
|
|
|
|
+ // console.log(this.connectedId, 'this.connectedId');
|
|
|
|
+ // const ready = await this.ensureBtReady();
|
|
|
|
+ // console.log(ready, 'ready');
|
|
|
|
+ // if (!ready) return;
|
|
|
|
+ // await this.closeBluetooth();
|
|
|
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
this.$emit('unbindSuccess');
|
|
this.$emit('unbindSuccess');
|