提交 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'
export default {
......@@ -332,6 +332,7 @@ export default {
return className
},
getMarkerLatitudeLongitude (e) {
const mapInfo = getMapInfo()
let latitude
let longitude
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册