1***@qq.com
1***@qq.com
  • 发布:2022-11-17 09:37
  • 更新:2022-12-16 18:30
  • 阅读:131

【报Bug】uni.chooseLocation 云打包后选择位置闪退

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win10

HBuilderX类型: Alpha

HBuilderX版本号: 3.6.9

手机系统: 全部

手机厂商: 苹果

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: HBuilderX

测试过的手机:

iphone 12 xiaomi

示例代码:

uni.chooseLocation({
latitude: this.form.latitude,
longitude: this.form.longitude,
success: function(res) {
console.log('位置名称:' + res.name);
console.log('详细地址:' + res.address);
console.log('纬度:' + res.latitude);
console.log('经度:' + res.longitude);
that.form.latitude = res.latitude.toString()
that.form.longitude = res.longitude.toString()
},
fail: function(e) {
console.log(e)
}
})

操作步骤:

云打包

预期结果:

正常选择坐标位置

实际结果:

选择后闪退

bug描述:

云打包后 使用uni.chooseLocation 选择位置后会闪退,标准基座不会

2022-11-17 09:37 负责人:无 分享
已邀请:
5***@qq.com

5***@qq.com

请问有解决吗

要回复问题请先登录注册