From da7ee064c503f8d416af8098c698c903b56cbd33 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Tue, 7 Jan 2020 16:27:54 +0800 Subject: [PATCH] update: h5 openLocation --- .../h5/components/system-routes/open-location/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 9a4a8b28d..88203369c 100644 --- a/src/platforms/h5/components/system-routes/open-location/index.vue +++ b/src/platforms/h5/components/system-routes/open-location/index.vue @@ -69,8 +69,8 @@ export default { } }, _nav () { - var url = - `https://apis.map.qq.com/uri/v1/routeplan?type=drive&to=${encodeURIComponent(this.name || '目的地')}&tocoord=${this.latitude},${this.longitude}&referer=${referer}` + var url = + `https://map.qq.com/nav/drive#routes/page?transport=2&epointy=${this.latitude}&epointx=${this.longitude}&eword=${encodeURIComponent(this.name || '目的地')}&referer=${referer}` this.$refs.map.src = url } } -- GitLab