Commit 7c0edbb0 by 赵雅纹

未登录状态跳转问题

parent f4c1cd24
......@@ -41,12 +41,21 @@ Component({
// 获取当前帐号信息
const accountInfo = utils.getAccountInfo()
const userInfo = wx.getStorageSync('_baseUserInfo')
if (userInfo){
if(accountInfo.miniProgram.appId == appid){
if (!memberActivateStatus){
wxService.openCard()
if (userInfo){
if (!memberActivateStatus){
wxService.openCard()
}else{
wxService.router(`${path}`)
}
}else{
wxService.router(`${path}`)
if (path == '/pages/deliveryService/deliveryService') {
wxService.router(`${path}`)
return
}
this.setData({
isAuthorization: true
})
}
} else {
// 跳转其他小程序
......@@ -65,12 +74,6 @@ Component({
})
}
// 是当前小程序 直接跳转
}else{
this.setData({
isAuthorization: true
})
}
}
}
})
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