uni.openLocation({ latitude: this.orderDetail.latitude, longitude: this.orderDetail.longitude, name: this.orderDetail.location, address: this.orderDetail.consigneeAddress })
- 发布:2022-10-11 10:13
- 更新:2022-10-18 14:32
- 阅读:578
产品分类: uniapp/H5
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 11.2.1
HBuilderX类型: 正式
HBuilderX版本号: 3.6.4
浏览器平台: 微信内置浏览器
浏览器版本: 最新微信
项目创建方式: HBuilderX
操作步骤:
预期结果:
uni.openLocation({ latitude: this.orderDetail.latitude, longitude: this.orderDetail.longitude, name: this.orderDetail.location, address: this.orderDetail.consigneeAddress })
uni.openLocation({ latitude: this.orderDetail.latitude, longitude: this.orderDetail.longitude, name: this.orderDetail.location, address: this.orderDetail.consigneeAddress })
实际结果:
uni.openLocation({ latitude: this.orderDetail.latitude, longitude: this.orderDetail.longitude, name: this.orderDetail.location, address: this.orderDetail.consigneeAddress })
uni.openLocation({ latitude: this.orderDetail.latitude, longitude: this.orderDetail.longitude, name: this.orderDetail.location, address: this.orderDetail.consigneeAddress })
bug描述:
调用内置方法uni.openLocation 之后 进入腾讯地图组件, 组建自带的下方导航按钮点击,发现传递参数固定为我的位置4个字,导致导航不准。