From 652e9bd07a54429f21eb516820b6469b2dae7c43 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Wed, 30 Aug 2023 11:26:29 +0800 Subject: [PATCH] feat(App): onExit --- App.uvue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/App.uvue b/App.uvue index e893a5f7..1e23a533 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) -- GitLab