多次请求处理
This commit is contained in:
@@ -78,6 +78,11 @@ const store = new Vuex.Store({
|
||||
uni.cache.set('miniAppOpenId', res.data.userInfo
|
||||
.miniAppOpenId)
|
||||
uni.cache.set('userInfo', res.data.userInfo);
|
||||
let pages = getCurrentPages()
|
||||
let curPage = pages[pages.length -1 ]
|
||||
curPage.onLoad(curPage.options)
|
||||
curPage.onShow()
|
||||
curPage.onReady()
|
||||
this.$isResolve()
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user