let _this = this;
uni.startBluetoothDevicesDiscovery({
success(res) {
console.log(res)
callback && callback(res);
},
fail(res) {
_this.bluetoothText = '蓝牙启动错误,正在尝试重新启动,错误码:' + res.errCode;
console.log('尝试启动,错误码:' + res.errCode)
setTimeout(() => {
_this.bluetooth();
}, 3000);
}
});
Solo丶权志龙
- 发布:2021-06-20 17:48
- 更新:2021-06-20 17:48
- 阅读:594
0 个回复