2 回复
wx.authorize 可以用,scope文档了解下:wx.authorize({scope: “scope.userInfo”})
,不会弹出授权窗口,请使用 <button open-type=“getUserInfo”/>
:地址:https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/authorize.html#scope-%E5%88%97%E8%A1%A8