官方更改了getUserInfo api,建议用getUserProfile,为什么wx.canIUse('getUserProfile') 返回false, 期望是true
canUse api 为什么不支持getUserProfile?Why canUse api not support getUserProfile?
canUse api 为什么不支持getUserProfile?官方更改了getUserInfo api,建议用getUserProfile,为什么wx.canIUse('getUserProfile') 返回false, 期望是true
The getUserInfo API has been officially changed. It is recommended to use getuserprofile. Why wx.canIUse ('getuserprofile ') returns false, expecting true
回答:
关注~~
版本没问题的话 真机调试一下 我刚才遇到这个问题了 真机调试是true模拟器就是false
建议查看基础库是否更新
建议真机调试尝试返回结果