이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
가입하기
로그인
weapp
/
C
보기
8
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
66
위키
활동
소스 검색
[onHide和onUnload的增加][修改]:onHide和onUnload的增加
tags/2.3.0
meo
6 년 전
부모
8eac199833
커밋
b5996ec79b
3개의 변경된 파일
과
12개의 추가작업
그리고
1개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
pages/couponorder/detail/index.js
+4
-0
pages/orderquanma/index.js
+4
-0
pages/passCar/couponDetail/couponDetail.js
+ 4
- 1
pages/couponorder/detail/index.js
파일 보기
@@ -20,7 +20,10 @@ Page({
showIf: false,
},
onUnload:function(){
console.log("onUnload");
let that = this;
clearInterval(that.data.setInter);
},
onHide:function(){
let that = this;
clearInterval(that.data.setInter);
},
+ 4
- 0
pages/orderquanma/index.js
파일 보기
@@ -99,6 +99,10 @@ Page({
let that = this;
clearInterval(that.data.setInter);
},
onHide: function () {
let that = this;
clearInterval(that.data.setInter);
},
// onHide:function(){
// console.log(app.globalData.sight)
// wx.setScreenBrightness({
+ 4
- 0
pages/passCar/couponDetail/couponDetail.js
파일 보기
@@ -17,6 +17,10 @@ Page({
let that = this;
clearInterval(that.data.setInter);
},
onHide: function () {
let that = this;
clearInterval(that.data.setInter);
},
onLoad: function (options) {
let that = this;
that.setData({
쓰기
미리보기
불러오는 중...
취소
저장