Commit 575e4c94 by 赵雅纹

Merge branch 'feature-zyw' into 'dev'

Feature zyw

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