wx.canIUse判断getUserProfile结果是false?
发布于 6 年前 作者 ojiang 1752 次浏览 来自 官方Issues

开发工具版本和基础库版本都满足getUserProfile要求

但是用wx.canIUse判断getUserProfile却是false

判断getUserinfo是true

console.log(wx.canIUse('getUserProfile'))

返回false

console.log(wx.canIUse('getUserinfo'))

返回

2 回复

以真机为准,工具某些API还是模拟不了真实的。

回到顶部