调用wx.getSetting获取authSetting中没有scope.userInfo,为什么?
发布于 4 年前 作者 dongxia 13364 次浏览 来自 官方Issues

我是已经授权的,但是authSetting中没有数据,但是却有用户数据,我要用来判断用户是否授权过了,现在判断不了,求解

2 回复

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

实际测试 里面有scope.userInfo啊,看你怎么写的

回到顶部