wx.authorize 第一次拒绝授权后再次进入页面不会弹出授权弹窗
wx.authorize({
scope: ‘scope.userInfo’,
success: function () {
app.getUserInfo(function (userInfo) {
me.setData({
userInfo: userInfo
});
});
}
});
wx.authorize({
scope: ‘scope.userInfo’,
success: function () {
app.getUserInfo(function (userInfo) {
me.setData({
userInfo: userInfo
});
});
}
});