getVipTaskInfo(){
let that=this
let member=wx.getStorageSync(‘member’)
let shopId=that.data.shopId
let enterCode = that.data.enterCode
// let shopId=“SH190706000J190705144419”
if(member){
let memberId=member.memberId
getVipTaskInfo(memberId,shopId,res=>{
console.log(res)
let result=res.data.data
if(result){
let shopId=result.vipTask.shopId
let partition=that.data.partition
if (!isBlank(result.vipTaskCosumePool)) {
that.setData({
vipTaskCosumePool: result.vipTaskCosumePool
})
}
if (isBlank(result.vipTaskCosumePool)){
wx.navigateTo({
url: `…/exclusiveMember/exclusiveMember?shopId=${shopId}&partition=${partition}&enterCode=${enterCode}&memberId=${that.data.userId}`,
})
return
}
}
},err=>{
console.log(err)
})
}
},
在onshow里面调用的这个方法,页面跳转后用return,但是有的安卓手机还是会跳转两次,用户体验感很差,怎么解决
麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)