Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-program
Overview
Overview
Details
Activity
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
陈玉桐
wx-program
Commits
0b2b2f7c
Commit
0b2b2f7c
authored
Oct 12, 2019
by
陈玉桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 离开首页清除定时器
parent
6d0f319f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
index.js
pages/index/index.js
+4
-2
No files found.
pages/index/index.js
View file @
0b2b2f7c
...
...
@@ -415,6 +415,10 @@ Page({
currentSwiper
:
e
.
detail
.
current
})
},
onHide
()
{
clearInterval
(
this
.
data
.
indexTimer
)
clearInterval
(
this
.
data
.
refreshTimer
)
},
onShow
()
{
let
me
=
this
;
if
(
me
.
data
.
indexTimer
){
...
...
@@ -706,8 +710,6 @@ Page({
});
},
onHide
()
{
},
// 个人设置
set
:
function
(){
if
(
this
.
data
.
bindDeviceStatus
==
1
){
...
...
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