wx.getUserProfile wx.getUserInfo 拉启不了用户授权弹框?
getUserProfile(e) {
wx.getUserProfile({
desc: '用于完善用户资料',
success: (res) => {
console.log(res);
}
})
},
getUserInfo(e) {
wx.getUserInfo({
success: (res) => {
console.log(res);
}
})
},
//开发工具可以拉取授权弹框,但是真机就没有弹框