diff --git a/src/platforms/h5/components/system-routes/open-location/index.vue b/src/platforms/h5/components/system-routes/open-location/index.vue index c595186e1dc0badffa5015e3a32ba7e7901c8b16..139c5cca86534452e568b8e9d84e3f7dadc71137 100644 --- a/src/platforms/h5/components/system-routes/open-location/index.vue +++ b/src/platforms/h5/components/system-routes/open-location/index.vue @@ -7,29 +7,29 @@ :markers="[marker, location]" @regionchange="onRegionChange" > -
-
{{ name }}
-
{{ address }}
-
- @@ -147,6 +147,11 @@ export default { }%2C${this.longitude}&from=${encodeURIComponent( '我的位置' )}&to=${encodeURIComponent(this.name || '目的地')}&ref=${mapInfo.key}` + } else if (mapInfo.type === MapType.AMAP) { + url = `https://m.amap.com/navi/?dest=${this.longitude},${this.latitude}&key=${mapInfo.key}` + if (this.name) { + url += `&destName=${this.name}` + } } window.open(url) }