调用wx.getUserProfile 报错getUserProfile:fail can only be invoked by user TAP gesture.
调用wx.getUserProfile 报错?Error when calling wx.getUserProfile?
调用wx.getUserProfile 报错?调用wx.getUserProfile 报错getUserProfile:fail can only be invoked by user TAP gesture.
call wx.getUserProfile Error report getus erProfile:fail can only be invoked by user TAP gesture.
回答:
需要点击触发
https://developers.weixin.qq.com/community/develop/article/doc/00040885c386f81e96cbf93cf51013 希望对你有帮助
getUserProfile 需要点击触发
catchtap换成bindtap试试。
https://developers.weixin.qq.com/community/develop/article/doc/00062eab0508684539cba249f59413?jumpto=reply&parent_commentid=000c6614ec8f40a835db15c0b54c&commentid=000cca50ef4240bc34dbea714534