getLocation:fail:timeout
手机是360 N6 pro 型号 1801-A01 手机定位开了,微信也授权了 wx.getLocation一直在走fail报[图片] //代码 ----------------------- <button class="userinfo-btn" plain="{{true}}" open-type="openSetting" bindopensetting="handler">授权获取地理位置</button> //.js //地理位置授权 handler: function (e) { var _this=this; console.log(e.detail.authSetting["scope.userLocation"]) if (e.detail.authSetting["scope.userLocation"]) { wx.getLocation({ type: 'gcj02', success: res => { console.log(res) app.globalData.userLocation.latitude = res.latitude; app.globalData.userLocation.longitude = res.longitude; _this.getProductList(_this.data.page) }, fail: err => { console.log(err) }, complete:ree=>{ console.log(ree) } }) } }