wx.openSetting
wx.openSetting总是弹出有两项设置内容:1,用户信息授权 2,位置授权。
现在只想要打开设置scope.userLocation,该怎么设置?
wx.openSetting({
success: (res) => {
/*
* res.authSetting = {
* “scope.userLocation”: true
* }
*/
}
})
wx.openSetting总是弹出有两项设置内容:1,用户信息授权 2,位置授权。
现在只想要打开设置scope.userLocation,该怎么设置?
wx.openSetting({
success: (res) => {
/*
* res.authSetting = {
* “scope.userLocation”: true
* }
*/
}
})