Browse Source

添加启蒙积木设备类型

chaooo 1 năm trước cách đây
mục cha
commit
32517031ff
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/utils/bluetooth.js

+ 1 - 1
src/utils/bluetooth.js

@@ -568,7 +568,7 @@ export default {
         let $mHexStr = hexStr.substr(hexStr.toUpperCase().indexOf("AADD87"))
         let $datas = that.DoAnalysis($mHexStr, 10)
         let $number = $datas.match(/\d+/)
-        let toy_list_pre = {'01': "SW", '02': "KL", '04': "SC", '05': "PP", '06': "SU", '09': "UF", '12': "JM"}
+        let toy_list_pre = {'01': "SW", '02': "KL", '04': "SC", '05': "PP", '06': "SU", '09': "UF", '12': "JM", '13': "QM"}
         let $sn = toy_list_pre[current_toy_id] + $number;
         $this.toy_sn = $sn;
         //保存教具sn