wx.onLocationChange 地理位置实时获取 运行起来 手机特别卡怎么办?
发布于 6 年前 作者 xuguiying 11365 次浏览 来自 官方Issues

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

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

代码是这样写的

1 回复

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

回到顶部