新接口wx.getUserProfile是需要用户调起?

小程序 文章 2021-03-04 14:01 1761 0 全屏看文

AI助手支持GPT4.0

新接口wx.getUserProfile是需要用户调起?Does the new interface wx.getUserProfile need to be called up by the user?

新接口wx.getUserProfile是需要用户调起?

etUserProfile:fail can only be invoked by user TAP gesture?

这个错误提示需要用户主动调起接口

那么button里应该如何使用调起方法呢?

etUs erProfile:fail can only be invoked by user TAP gesture? This error prompt requires the user to actively call the interface, so how to use the call method in button?

回答:

默垂眸:

使用点击事件调起

Brother斌🎈:

点击事件调起就行

土豆:

必须使用catchtap手动点击触发

-EOF-

AI助手支持GPT4.0