wx.invoke('launchMiniprogram', {
appid: 'xxxx',
path: `pages/index/index?token=${window.token}`
}, function (res) {
if (res.err_msg == 'launchMiniprogram:ok') {
message.success('跳转成功')
} else { alert('跳转失败') }
})
预期传入token之后, 小程序启动,通过token获取用户信息, 但是小程序无法正常展示
