wx.canIUse判断getUserProfile结果是false?

发布于 8 年前作者 ojiang1948 次浏览最后编辑 8 年前来自 issues

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

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

判断getUserinfo是true

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

返回false

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

返回

2 回复
ming60
ming601 楼5 年前

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