Commit 89a4bcf7 authored by Sky's avatar Sky

心率初始化优化

parent bd20dc7a
......@@ -81,7 +81,7 @@ export default {
}
_this.isStop = false;
//手机端主动离开时间,等待0.5秒后再处理其他时间
//手机端主动离开事件,等待0.5秒后再处理其他事件
if (_this.isPhoneLeave) {
return
}
......@@ -97,7 +97,6 @@ export default {
return false;
}
}
_this.sendErrMsg(msg.eventFlg,"手表端处理接收到的消息类型:");
switch (msg.eventFlg) {
case "0": //训练准备
_this.page = "0";
......@@ -108,8 +107,6 @@ export default {
_this.countdownT = model.countdownT;
_this.isEnd = false;
_this.stopFlg = false;
//获取心率
_this.getHeartRate();
break;
case "2": //动作名称
_this.vibrate();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment