From dc5c7a578bbe150190ec9c179974405a9e434d14 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 24 Aug 2020 09:18:42 +0800 Subject: [PATCH] test mini --- test_mini/app.js | 3 ++- test_mini/project.config.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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