柒零 преди 1 година
родител
ревизия
30918d006d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      subpages/addMattresses/addMattresses.js

+ 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);