3***@qq.com
3***@qq.com
  • 发布:2025-12-02 17:25
  • 更新:2025-12-02 17:25
  • 阅读:9

uni.chooseLocation,app无法显示下面的地址列表,华为手机,高德地图,是为什么?该怎么解决?

分类:uni-app

vue3,uniapp,uni.chooseLocation,app无法显示下面的地址列表,华为手机,高德地图,是为什么?该怎么解决?uni.chooseLocation({
success: function(res) {
console.log('res', res)
that.getGeocoderFunc({
location: ${res.latitude},${res.longitude}
})
setTimeout(() => {
that.rescue.city_id = that.cityInfo.id
}, 2000)
that.rescue.location_name = res.name
that.rescue.lnt = res.longitude
that.rescue.lat = res.latitude
that.rescue.address = res.address

                },  
                fail: function(err) {  
                    console.log(err)  
                }  
            });
2025-12-02 17:25 负责人:无 分享
已邀请:

要回复问题请先登录注册