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

小程序 文章 2021-03-04 14:01 1857 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


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
小程序access_token api 跨域问题blocked by CORS 如何解决?
为什么同一个页面中,相同的组件有的绑定了事件可以跳转有的却不行?
企业微信内部应用授权登录出现api freq out of limit, hint
微信小程序使用vant-ui的tabber一些问题?
小程序现在支持跳转企业微信吗,要怎么设置呢?
随便看看
线上防疫题库正确答案 2932
线上防疫题库正确答案(多选题) 4825
微信设置不可以使用小程序(游戏小程序) 5634
adsense申请已经支付的订单回退的网址 3212
BT面板查看网站入口、账号密码的命令 6009
ucloud海外服务器超级优惠券 3274
根据您的消费情况,您的延停权益已发生变化,变更后的延停权益为延停额度20.00元 5831
为什么我们喜欢迈克尔杰克逊。 4164
阿里云com、cn域名续费优惠码(2020年5月可用) 3586
阿里云com、cn域名续费优惠码(2020年6月可用) 3606