From 0169c4cacb4dd9c9b9a234ad9ad05e748e3a1bb1 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Fri, 30 Aug 2024 15:37:30 +0800 Subject: [PATCH] =?UTF-8?q?refactor(getApp):=20=E8=B0=83=E6=95=B4=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B=E9=80=82=E9=85=8D=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/get-app/get-app.uvue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/API/get-app/get-app.uvue b/pages/API/get-app/get-app.uvue index 7ece0a80..7957b139 100644 --- a/pages/API/get-app/get-app.uvue +++ b/pages/API/get-app/get-app.uvue @@ -161,7 +161,12 @@ }, _increasetLifeCycleNum: function () { const app = getApp() + // #ifndef APP-ANDROID + app.vm.increasetLifeCycleNum() + // #endif + // #ifdef APP-ANDROID app.increasetLifeCycleNum() + // #endif this.lifeCycleNum = state.lifeCycleNum }, // 自动化测试 @@ -180,4 +185,4 @@ .hr { border-bottom: 1px solid #ccc; } - + -- GitLab