diff --git a/App.uvue b/App.uvue index e893a5f76602819dc50d3a872c3d7eb8f4b7808d..1e23a533dc38acdc6686560628e9eec087c1678b 100644 --- a/App.uvue +++ b/App.uvue @@ -31,9 +31,6 @@ export default { setLifeCycleNum(state.lifeCycleNum - 100) console.log('App Hide') }, - onExit(){ - console.log('App Exit') - }, onLastPageBackPress: function () { // 自动化测试 setLifeCycleNum(state.lifeCycleNum - 1000) @@ -52,6 +49,9 @@ export default { uni.exit(null) } }, + onExit(){ + console.log('App Exit') + }, methods: { increasetLifeCycleNum() { setLifeCycleNum(state.lifeCycleNum + 100)