微信小程序wx.redirectTo 体验版可以跳转页面,但是上传到正式版不可以跳转页面,页面也不是TabBar页面,什么原因呢?
if(this.data.type == "care"){
wx.redirectTo({
url: '../../module/care/login?type=care',
success: (result) => {
},
fail: (error) => {
console.log(error)
},
});
}else if(this.data.type == "service"){
wx.redirectTo({
url:'../../module/sers/login?type=service'
})
}else if(this.data.type == "advice"){
wx.redirectTo({
url:'../../module/advice/login?type=advice'
})
}else if(this.data.type == 'finger'){
wx.redirectTo({
url:'../../module/finger/login?type=finger'
})
}