ソースを参照

添加启蒙积木设备类型

chaooo 1 年間 前
コミット
32517031ff
1 ファイル変更1 行追加1 行削除
  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