From 192f66b9fdb07cdc861bdacf1beaaba70181e6fc Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Tue, 19 Dec 2023 12:16:07 +0800 Subject: [PATCH] =?UTF-8?q?refactor(onLastPageBackPress):=20=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E7=BC=96=E8=AF=91=E6=8C=87=E5=AE=9A=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.uvue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/App.uvue b/App.uvue index 8a0e676d..5db44554 100644 --- a/App.uvue +++ b/App.uvue @@ -46,8 +46,8 @@ setLifeCycleNum(state.lifeCycleNum - 100) console.log('App Hide') }, + // #ifdef APP-ANDROID onLastPageBackPress: function () { - // #ifdef APP-ANDROID // 自动化测试 setLifeCycleNum(state.lifeCycleNum - 1000) console.log('App LastPageBackPress') @@ -64,8 +64,8 @@ firstBackTime = Date.now() uni.exit() } - // #endif }, + // #endif onExit() { console.log('App Exit') }, -- GitLab