/ 在这断代码中捕获到了错误: onLocationChange:fail translate coordiate system fail /
uni.onLocationChangeError((err)=>{
console.log("====onLocationChangeerrrrrr", err)
uni.showModal({
title:'实时定位开启失败',
content:'参数:'+JSON.stringify(err)
})
})
/* 开启监听 */
uni.onLocationChange((res) => {
console.log("====onLocationChange", res)
})
1 个回复
DCloud_UNI_yuhe
已确认bug:https://ask.dcloud.net.cn/question/195180