Fury преди 3 години
родител
ревизия
32184a95ec
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/utils/bluetooth.js

+ 1 - 1
src/utils/bluetooth.js

@@ -445,8 +445,8 @@ export default {
         if (hexStr.toUpperCase().indexOf("AADD0A0000") != -1) {
           if(is_new){
             $this.change_toy_connect_status(3);
-            return false;
           }
+          return false;
         }
         let $mHexStrIndex = hexStr.toUpperCase().indexOf("AADD0A");
         let $hex_index = hexStr.substr($mHexStrIndex + 28, 2)