test mini

This commit is contained in:
caoqianming 2020-08-24 09:18:42 +08:00
parent 982573f9d0
commit dc5c7a578b
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@ App({
if(res.code==200){ if(res.code==200){
this.globalData.token = res.data.token this.globalData.token = res.data.token
this.globalData.userinfo = res.data.userinfo this.globalData.userinfo = res.data.userinfo
wx.hideLoading()
// var pages = getCurrentPages() //获取加载的页面 // var pages = getCurrentPages() //获取加载的页面
// var currentPage = pages[pages.length - 1] //获取当前页面的对象 // var currentPage = pages[pages.length - 1] //获取当前页面的对象
// currentPage.showExp() // currentPage.showExp()
@ -41,6 +41,7 @@ App({
} }
} catch (e) { } } catch (e) { }
} }
wx.hideLoading()
}) })
}) })
} }

View File

@ -23,7 +23,7 @@
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
}, },
"useCompilerModule": true, "useCompilerModule": false,
"userConfirmedUseCompilerModuleSwitch": false, "userConfirmedUseCompilerModuleSwitch": false,
"compileHotReLoad": false, "compileHotReLoad": false,
"useIsolateContext": true "useIsolateContext": true