提交 192f66b9 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

refactor(onLastPageBackPress): 条件编译指定平台

上级 e9a3936a
......@@ -46,8 +46,8 @@
setLifeCycleNum(state.lifeCycleNum - 100)
console.log('App Hide')
},
onLastPageBackPress: function () {
// #ifdef APP-ANDROID
onLastPageBackPress: function () {
// 自动化测试
setLifeCycleNum(state.lifeCycleNum - 1000)
console.log('App LastPageBackPress')
......@@ -64,8 +64,8 @@
firstBackTime = Date.now()
uni.exit()
}
// #endif
},
// #endif
onExit() {
console.log('App Exit')
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册