|
@@ -413,6 +413,7 @@ export default {
|
|
|
|
|
|
$this.game_over();
|
|
|
|
|
|
+ WechatLog.info("结束训练,game_record_id:", game_store.getters.getGameRecordId());
|
|
|
|
|
|
Toast.loading({
|
|
|
forbidClick: true,
|
|
@@ -461,9 +462,9 @@ export default {
|
|
|
let $toy_sn = game_store.getters.getToySn().toUpperCase();
|
|
|
if($toy_sn.includes("SW") || $toy_sn.includes("KL") || $toy_sn.includes("SC")){
|
|
|
// 设置教具为无运动状态 AA CC 03 00 00 00 34 CKS
|
|
|
- $this.$bluetooth.SendMotionOrder("00");
|
|
|
- } else {
|
|
|
$this.$bluetooth.SendMotionOrder("01");
|
|
|
+ } else {
|
|
|
+ $this.$bluetooth.SendMotionOrder("00");
|
|
|
}
|
|
|
},1000);
|
|
|
// 开始倒计时
|
|
@@ -513,8 +514,6 @@ export default {
|
|
|
..._game_datas,
|
|
|
sn: wx.getStorageSync('deviceSn')
|
|
|
};
|
|
|
- WechatLog.info(JSON.stringify($params));
|
|
|
-
|
|
|
if (!$params.line) {
|
|
|
return false;
|
|
|
}
|