wx.startLocationUpdate({
success: (res) => {
wx.onLocationChange(res => {
// 环境收到回diao
console.log('onLocationChange---res', res)
let currentRegion = new GlobalCurrentRegion({position: res})
resolve(currentRegion)
})
},
fail: (rej) => {
reject({ code: 1, res: rej })
}
})
基础库版本:2.17.0
你好,麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
https://developers.weixin.qq.com/community/develop/doc/000264bd3f09c0fafd0d6ad5151c00