Commit 09b08ad4 authored by 劳琪峰's avatar 劳琪峰

chore: 修复10月品牌周的授权问题

parent 5223748c
...@@ -199,12 +199,12 @@ const onGetPhoneNumber = async (e) => { ...@@ -199,12 +199,12 @@ const onGetPhoneNumber = async (e) => {
// console.warn('onGetPhoneNumber', e.detail) // console.warn('onGetPhoneNumber', e.detail)
// 隐藏授权弹窗 // 隐藏授权弹窗
userStore.phoneCallback(e.detail, null, null, async () => { userStore.phoneCallback(e.detail, null, null, async () => {
hideLoading()
// 重新获取用户信息(登录后)getphonenumber // 重新获取用户信息(登录后)getphonenumber
await Promise.all([ await Promise.all([
userStore.loadUserInfo(), userStore.loadUserInfo(),
userStore.loadMemberInfo(), userStore.loadMemberInfo(),
]) ])
hideLoading()
console.warn('授权后重新获取用户信息') console.warn('授权后重新获取用户信息')
}, { }, {
wxLoginBusinessDTO: { wxLoginBusinessDTO: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment