线上版本出现 wx.getUserProfile is not a function怎么回事?

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

小程序wx.getUserInfo 改版以后 修改成 wx.getUserProfile,昨天重新发布以后出现 wx.getUserProfile is not a function

在开发者工具试了试没啥问题

1 回复
jingduan
jingduan1 楼4 年前

 wx.getUserProfile 是有最低基础库要求的,需要对不支持的基础库做兼容处理