From 7843bc1c03c1985622282641734dfb3900a7ee13 Mon Sep 17 00:00:00 2001 From: zhenyuWang <13641039885@163.com> Date: Wed, 18 Sep 2024 20:09:41 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E8=B0=83=E6=95=B4=20getApp=20?= =?UTF-8?q?=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.uvue | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pages/index/index.uvue b/pages/index/index.uvue index 7d06811..2a7181c 100644 --- a/pages/index/index.uvue +++ b/pages/index/index.uvue @@ -1217,12 +1217,7 @@ export default { // 自动化测试 checkLaunchPath() : boolean { const app = getApp() - // #ifndef APP-ANDROID - return app.vm.checkLaunchPath() - // #endif - // #ifdef APP-ANDROID - return app.checkLaunchPath() - // #endif + return app.vm!.checkLaunchPath() }, // #ifndef APP-ANDROID // 自动化测试 -- GitLab