Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
huaweiWatchClient
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Sky
huaweiWatchClient
Commits
89a4bcf7
Commit
89a4bcf7
authored
Sep 08, 2020
by
Sky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
心率初始化优化
parent
bd20dc7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
index.js
entry/src/main/js/default/pages/index/index.js
+1
-4
No files found.
entry/src/main/js/default/pages/index/index.js
View file @
89a4bcf7
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment