wx.getUserProfile is not a function微信小程序报错
在使用小程序wx.getUserProfile接口调用时报错:wx.getUserProfile is not a function
在微信官方文档中看到wx.getUserProfile接口升级的信息,以前能直接调用,现在每次都要经过用户确认授权。
于是在微信开发者工具上打开详情,对调试基础库进行升级
使用高版本后发现调用成功了
在使用小程序wx.getUserProfile接口调用时报错:wx.getUserProfile is not a function
在微信官方文档中看到wx.getUserProfile接口升级的信息,以前能直接调用,现在每次都要经过用户确认授权。
于是在微信开发者工具上打开详情,对调试基础库进行升级
使用高版本后发现调用成功了