8***@qq.com
8***@qq.com
  • 发布:2024-08-15 17:08
  • 更新:2024-08-15 17:59
  • 阅读:160

Failed to execute the callback function: TypeError: Cannot read property 'points' of undefined

分类:uni-app

执行下面代码:
let [, {
address = '',
longitude,
latitude,
name
}] = await uni.chooseLocation();

控制台报错:
15:53:53.311 [JS Framework] Failed to execute the callback function:
TypeError: Cannot read property 'points' of undefined
15:53:53.316 reportJSException >>>> exception function:WEEX_CALL_JAVASCRIPT, exception:JavaScript execute error!Uncaught TypeError: Cannot read property 'points' of undefined
at (/__uniappchooselocation.js.nvue:1:28376)

2024-08-15 17:08 负责人:无 分享
已邀请:
DCloud_UNI_yuhe

DCloud_UNI_yuhe

你好,尝试一下更新hx到最新版

  • 8***@qq.com (作者)

    4.23.2024070309-alpha

    2024-08-16 10:49

  • DCloud_UNI_yuhe

    回复 8***@qq.com: 这个问题在4.24中修复

    2024-08-16 11:15

要回复问题请先登录注册