当点击控件时,下方出现弹窗提示要求头像昵称等信息是怎样编写的?
<button open-type=“getUserInfo”>授权登录</button>
贼鸡儿懒
https://developers.weixin.qq.com/miniprogram/dev/component/button.html
文档都不看
建议仔细阅读文档https://developers.weixin.qq.com/miniprogram/dev/api/open-api/user-info/wx.getUserInfo.html
兄弟,新手啊,多看再多问