Browse Source

feature: 处理搜索配网退出界面停止搜索

332777428@qq.com 2 months ago
parent
commit
ce979d8e75
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pages/pageB/deviceConnect2/deviceConnect2.js

+ 2 - 0
pages/pageB/deviceConnect2/deviceConnect2.js

@@ -243,6 +243,8 @@ Page({
 
   onUnload: function () {
     var that = this;
+    // 停止搜索
+    that.stopSearch();
     xBlufi.listenDeviceMsgEvent(false, that.funListenDeviceMsgEvent);
   },
 })