wx.navigateToMiniProgram 跳转到另一个小程序 拿不到值
var shangji = options.shangji;
if (num == 4) {
wx.navigateToMiniProgram({
appId: ‘’,
path: ‘pages/reg/reg’,
extraData: {
shangji: shangji
},
envVersion: ‘release’,
success(res) {
console.log(“123”);
}
})
}