diff --git a/test_mini/app.js b/test_mini/app.js index a7c9ddb..4e9ce27 100644 --- a/test_mini/app.js +++ b/test_mini/app.js @@ -19,7 +19,7 @@ App({ if(res.code==200){ this.globalData.token = res.data.token this.globalData.userinfo = res.data.userinfo - wx.hideLoading() + // var pages = getCurrentPages() //获取加载的页面 // var currentPage = pages[pages.length - 1] //获取当前页面的对象 // currentPage.showExp() @@ -41,6 +41,7 @@ App({ } } catch (e) { } } + wx.hideLoading() }) }) } diff --git a/test_mini/project.config.json b/test_mini/project.config.json index ab52b0f..631541b 100644 --- a/test_mini/project.config.json +++ b/test_mini/project.config.json @@ -23,7 +23,7 @@ "disablePlugins": [], "outputPath": "" }, - "useCompilerModule": true, + "useCompilerModule": false, "userConfirmedUseCompilerModuleSwitch": false, "compileHotReLoad": false, "useIsolateContext": true