|
@@ -151,8 +151,8 @@ Page({
|
|
|
// 开启蓝牙
|
|
// 开启蓝牙
|
|
|
bindViewBlue: function () {
|
|
bindViewBlue: function () {
|
|
|
const that = this;
|
|
const that = this;
|
|
|
- wx.offBluetoothDeviceFound();
|
|
|
|
|
- wx.closeBluetoothAdapter();
|
|
|
|
|
|
|
+ // wx.offBluetoothDeviceFound();
|
|
|
|
|
+ // wx.closeBluetoothAdapter();
|
|
|
wx.openBluetoothAdapter({
|
|
wx.openBluetoothAdapter({
|
|
|
success(res) {
|
|
success(res) {
|
|
|
//console.log(res);
|
|
//console.log(res);
|