开发工具里面getSetting和真机测试结果不一致
例如:
app.js
onLaunch: function () {
wx.authorize({
scope: ‘scope.record’,
success: function (res) { },
fail: function (res) { },
complete: function (res) { },
})
}
page.js
wx.getSetting({
success: function(res) {
console.log(res.authSetting[“scope.record”])
}
)
开发工具上调试打印的值始终是“true”,
真机上根据授权与否会打印真确的值,
这个是bug还是哪里应用不对?