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
81ba1c67
Commit
81ba1c67
authored
Aug 25, 2020
by
Sky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add 注释
parent
254fb48a
Pipeline
#149
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
index.js
entry/src/main/js/default/pages/index/index.js
+3
-1
No files found.
entry/src/main/js/default/pages/index/index.js
View file @
81ba1c67
import
sensor
from
'@system.sensor'
;
//传感器
import
vibrator
from
'@system.vibrator'
import
vibrator
from
'@system.vibrator'
;
//震动
export
default
{
data
:
{
page
:
""
,
//显示页面
...
...
@@ -50,12 +50,14 @@ export default {
let
_this
=
this
;
let
model
=
msg
.
acModel
;
//接到手机端消息时,启动页显示完后,不显示提示登录页面page 12
if
(
msg
.
eventFlg
!=
""
){
_this
.
isReceiveStartMessage
=
true
;
}
if
(
_this
.
sendFlg
){
return
false
;
}
if
(
_this
.
isStop
&&
msg
.
eventFlg
!=
"7"
){
return
false
;
}
...
...
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