提交 01e193ce 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

fix(h5 map): 修复marker 点击报错问题

上级 960b69a8
import { mapInfo, MapType, IS_AMAP } from '../../../helpers/location' import { MapType, getMapInfo, IS_AMAP } from '../../../helpers/location'
import getRealPath from 'uni-platform/helpers/get-real-path' import getRealPath from 'uni-platform/helpers/get-real-path'
export default { export default {
...@@ -332,6 +332,7 @@ export default { ...@@ -332,6 +332,7 @@ export default {
return className return className
}, },
getMarkerLatitudeLongitude (e) { getMarkerLatitudeLongitude (e) {
const mapInfo = getMapInfo()
let latitude let latitude
let longitude let longitude
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册