编译模式模拟小程序跳入,获取不到 referrerInfo
- 当前 Bug 的表现(可附上截图)
编译模式模拟小程序跳入,获取不到 referrerInfo,打印wx.getLaunchOptionsSync(); ,如下图:

- 预期表现
referrerInfo | object | 当场景为由从另一个小程序或公众号或App打开时,返回此字段 |
- 复现路径
- 提供一个最简复现 Demo

var options = wx.getLaunchOptionsSync();
console.log(options);
3 回复
你好,没复现问题。请确认工具是否使用了最新版。如果还有问题请提供一个代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),我们定位下问题