【开发者工具】wx.getUserInfo返回值没scope.userInfo

发布于 8 年前作者 wei875300 次浏览最后编辑 8 年前来自 ask

更新了2017.10.19版,app.onlaunch里的wx.login能调用到了,但是:

wx.getUserInfo返回值没有scope.userInfo字段,导致程序卡在那里。

这个bug并没有解决!

2 回复
mawei
mawei1 楼6 年前

不需要

if (res1.authSetting[‘scope.userInfo’])

这句判断了吗

iguo
iguo2 楼6 年前

调用过wx.getUSerInfo,getSetting才有这个scope的返回。