真机调试wx.getSetting获取e.detail.errMsg数据报错?
在编译工具中调试正常,但是真机调试就出错了!!!
wx.request({if (e.detail.errMsg === ‘getUserInfo:ok’) {
}
错误提示:
![](https://image.wxopen.club/content_f1e2f98c-4f14-11ea-9263-001a7dda7111.png)
2 回复
麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)