wx.onLocationChange 地理位置实时获取 运行起来 手机特别卡怎么办?

发布于 7 年前作者 xuguiying11518 次浏览最后编辑 7 年前来自 issues

wx.onLocationChange 地理位置实时获取 运行起来 手机特别卡怎么办?

wx.startLocationUpdateBackground({
 
success(res) {
 
wx.onLocationChange(function(res) {
 
console.log(res)
 
},
 
fail(res) {
 
console.log('开启后台定位失败', res)
 
}
 
})

代码是这样写的

1 回复
chao85
chao851 楼6 年前

855/a12处理器的手机卡嘛?