怎么打开分享链接就直接获取头像昵称权限?
- 需求的场景描述(希望解决的问题)
- 希望提供的能力
通过点击某小程序的分享链接,不用点击按钮,一打开页面就是授权的页面,点击同意就直接跳转到页面,昵称头像都已获得。是怎么实现的?不是改版需要点击按钮<button wx:if="{{canIUse}}" open-type=“getUserInfo” bindgetuserinfo=“getUserInfo”> 点击获取头像昵称 </button>才能弹窗授权?这个是怎么实现?


