From cddc9e83cba9bb60286fed40525ca4ede0f742d5 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Thu, 2 Jan 2020 15:43:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DH5=E7=AB=AFopenLocatio?= =?UTF-8?q?n=E5=AF=BC=E8=88=AA=E6=8C=89=E9=92=AE=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E4=B8=8D=E6=AD=A3=E5=B8=B8=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../h5/components/system-routes/open-location/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 2c8113e7f..9a4a8b28d 100644 --- a/src/platforms/h5/components/system-routes/open-location/index.vue +++ b/src/platforms/h5/components/system-routes/open-location/index.vue @@ -70,7 +70,7 @@ 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}` + `https://apis.map.qq.com/uri/v1/routeplan?type=drive&to=${encodeURIComponent(this.name || '目的地')}&tocoord=${this.latitude},${this.longitude}&referer=${referer}` this.$refs.map.src = url } } -- GitLab