getUserProfile在电脑版的小程序不能使用?
发布于 4 年前 作者 panming 1284 次浏览 来自 官方Issues

我把小程序里面的wx.getUserInfo接口和<button open-type=“getUserInfo”/>替换成了 wx.getUserProfile在手机端是可以用的,

但是在电脑上的微信打开小程序不能使用 wx.getUserProfile

3 回复

不能使用报的什么错?看看基础库版本多少?

查看一下开发工具版本,以及基础库版本

回到顶部