提交 767ccce2 编写于 作者: Q qiang

fix: 解决 uni.openLocation 未传递参数 name 和 address 时显示为 undefined 的问题(H5)

上级 1ce1a360
...@@ -33,9 +33,9 @@ export default { ...@@ -33,9 +33,9 @@ export default {
const { const {
latitude, latitude,
longitude, longitude,
scale, scale = 18,
name, name = '',
address address = ''
} = this.$route.query } = this.$route.query
return { return {
latitude, latitude,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册