diff --git a/App.uvue b/App.uvue index 949549761ec794ebcb4191ca50d1564af638adcc..6e291eb07269546c9cd31fe3d23d7cdc75a33eb1 100644 --- a/App.uvue +++ b/App.uvue @@ -6,7 +6,7 @@ onLaunch: function (options) { console.log(options) // 自动化测试 - setLifeCycleNum(state.lifeCycleNum + 1000) + setLifeCycleNum(state.lifeCycleNum + 1000) setAppLaunchPath(options.path) console.log('App Launch') // #ifdef UNI-APP-X && APP-ANDROID @@ -56,12 +56,7 @@ }, methods: { checkLaunchPath() : boolean { - // #ifdef APP - const HOME_PATH = '/pages/tab-bar/options-api' - // #endif - // #ifdef WEB const HOME_PATH = 'pages/tab-bar/options-api' - // #endif if (state.appLaunchPath != HOME_PATH) { return false }