柒零 1 жил өмнө
parent
commit
30918d006d

+ 2 - 2
subpages/addMattresses/addMattresses.js

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