柒零 1 рік тому
батько
коміт
c68aebcd35
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      subpages/addMattresses/addMattresses.js

+ 1 - 0
subpages/addMattresses/addMattresses.js

@@ -747,6 +747,7 @@ Page({
   onUnload() {
   onUnload() {
     wx.offWifiConnected({});
     wx.offWifiConnected({});
     wx.stopWifi({})
     wx.stopWifi({})
+    wx.offBluetoothDeviceFound()
     this.closeConnect()
     this.closeConnect()
   },
   },