wx.config({
appId: 'xxxxxx',
timestamp: 0,
nonceStr: 'nonceStr',
signature: 'signature',
jsApiList: ['openMiniProgram']
})
wx.miniProgram.navigateToMiniProgram({
appId: 'xxxxxx',
path: 'pages/home/home',
extraData: {},
envVersion: 'release',
success(res) {
alert('成功')
},
fail(res) {
//跳转失败
alert('失败='+res)
}
})
为什么跳不过去
wx.miniProgram.navigateToMiniProgram 你这个方法是从哪个文档看来的?