获取getuserinfo问题

发布于 7 年前作者 xiulanduan16054 次浏览最后编辑 7 年前来自 ask

 <button open-type=“getUserInfo” lang=“zh_CN” bindgetuserinfo=“onGotUserInfo”>我可不可以不点击,直接在页面中wx.getuserInfo获取用户信息

1 回复
yiqiang
yiqiang1 楼5 年前

你好,请参考文档。