diff --git a/pages/index/index.uvue b/pages/index/index.uvue index 7d0681178e7bfb65a4c9eee4b8bd6a48f87663ef..2a7181cc9269c6d4a4e548367f6dfce9620ad31e 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 // 自动化测试