更新后,以前获取用户信息,是通过wx.getUserInfo,然后就会弹出授权窗口,现在必须通过button ,才能实现;
<button open-type="getUserInfo">授权</button>
文档地址:https://developers.weixin.qq.com/miniprogram/dev/api/open.html