getSetting:fail invalid scope?
wx.getSetting
wx.getSetting({
success(res) {
if (res.authSetting['scope.userInfo']) {
alert('登录')
}
}
})
wx.getSetting
wx.getSetting({
success(res) {
if (res.authSetting['scope.userInfo']) {
alert('登录')
}
}
})