模拟器wx.redirectTo跳转无效
App({
onLaunch: function () {
},
onShow:function(){
wx.redirectTo({
url: ‘/indexa/index’,
success: function (res) {
console.log(“success”);
console.log(res);
},
fail: function (res) {
console.log(“fail”);
console.log(res);
}
})
}
})