wx.getUserInfo()获取的信息不对?

小程序 文章 2021-04-08 13:42 67 0 全屏看文

wx.getUserInfo()获取的信息不对?The information obtained by wx.getUserInfo() is incorrect?

wx.getUserInfo()获取的信息不对?


 调用的api是: wx.getUserInfo({}) ,但是获取的数据居然是这样的(如下图),肿么回事?


The API to call is: wx.getUserInfo ({}), but the data obtained is actually like this (as shown in the figure below). What's the matter?

回答:

ᥴꪮꪮꪶ .:

谢邀

新机制调整

参考下图

|G.XIAO|:

还可以了解下用户授权的前世今生 https://developers.weixin.qq.com/community/develop/article/doc/000c8ce9a10070794cfbb0c085b013 让我们更好的适配,加油

-EOF-