Commit b16296df by 高淑倩

modify: 手机号码

parent 7008ed97
......@@ -47,6 +47,8 @@ Component({
// navigateToMiniProgram:fail can only be invoked by user TAP gesture.
// 更改数据问题
let currentClickType = app.globalData.commonFunc.getLink(item.link.type, item)
const userInfo = wx.getStorageSync('_baseUserInfo')
console.log('userInfo.member.mobile', userInfo.member.mobile)
// type==1 外部 不用弹 没有登录弹
if (link.type == 1) {
// 触发父组件更新页面 外部小程序
......@@ -59,8 +61,12 @@ Component({
isAuthorization: true
})
return false
} else if (userInfo && userInfo.member && !userInfo.member.mobile) {
wxService.openCard()
return false
}
// wxService.openCard()
if (link.type == 2) {
// 触发父组件更新页面
wxService.nextTick(() => {
......
......@@ -48,6 +48,9 @@ Component({
isAuthorization: true
})
return false
} else if (userInfo && userInfo.member && !userInfo.member.mobile) {
wxService.openCard()
return false
}
if (link.type == 2) {
......
......@@ -55,6 +55,9 @@ Component({
isAuthorization: true
})
return false
} else if (userInfo && userInfo.member && !userInfo.member.mobile) {
wxService.openCard()
return false
}
if (link.type == 2) {
......
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