多次请求处理

This commit is contained in:
GaoHao
2024-08-09 14:01:02 +08:00
parent bf5460c304
commit c83aa0b4c4
5 changed files with 29 additions and 35 deletions

View File

@@ -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()
}
},