用新版的wx.getUserInfo获取不了用户昵称和头像?
<button size="mini" type='primary' open-type="getUserInfo" bindgetuserinfo="getUserInfo" class="accredit-button">授权</button>
getUserInfo: function (cb) {
console.log(cb);
},
3 回复
请参考
小程序登录、用户信息相关接口调整说明:https://developers.weixin.qq.com/community/develop/doc/000cacfa20ce88df04cb468bc52801