diff --git a/App.vue b/App.vue index bd9f5136f860435df0ad2af55e04ddd75755dca8..3ce0ae784986aedb037f1b60948f41abe8a0ac88 100644 --- a/App.vue +++ b/App.vue @@ -12,6 +12,7 @@ export default { console.log('App Hide') }, onLastPageBackPress: function () { + console.log('App LastPageBackPress') if (firstBackTime == 0) { uni.showToast({ title: '再按一次退出应用', @@ -26,6 +27,9 @@ export default { uni.exit(null) } }, + onExit() { + console.log('App Exit') + }, }