wx.onLocationChange 地理位置实时获取 运行起来 手机特别卡怎么办?
wx.onLocationChange 地理位置实时获取 运行起来 手机特别卡怎么办?
wx.startLocationUpdateBackground({success(res) {wx.onLocationChange(function(res) {console.log(res)},fail(res) {console.log('开启后台定位失败', res)}}) |
代码是这样写的
