From 3fef62b03c16aa69c109c355150cdb698b777feb Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期五, 28 六月 2024 17:39:20 +0800 Subject: [PATCH] Merge branch 'develop/steels' into feature/steels/yangan --- pages/public-page/mapRoute/mapRoute.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/public-page/mapRoute/mapRoute.vue b/pages/public-page/mapRoute/mapRoute.vue index 996618c..8c27414 100644 --- a/pages/public-page/mapRoute/mapRoute.vue +++ b/pages/public-page/mapRoute/mapRoute.vue @@ -29,9 +29,11 @@ </template> <script> + import { onlineurl } from '@/api/request.js' export default { data() { return { + onlineurl, latitude: 38.04606544104117, longitude: 114.48735479816793, customerId: '', @@ -47,7 +49,7 @@ markers: [{ latitude: null, longitude: null, - iconPath: 'https://mx.jzeg.cn:9095/appimg/image/banner/location.png', + iconPath: `${onlineurl}/appimg/image/banner/location.png`, width: 23, height: 33, id: 0, @@ -64,7 +66,7 @@ { latitude: null, longitude: null, - iconPath: 'https://mx.jzeg.cn:9095/appimg/image/banner/location.png', + iconPath: `${onlineurl}/appimg/image/banner/location.png`, width: 23, height: 33, id: 1, @@ -158,7 +160,7 @@ from: fromLocation, to: toLocation, success: function(res) { - console.log(res); + console.log(res,'resutlss'); let ret = res; let coors = ret.result.routes[0].polyline, pl = []; -- Gitblit v1.9.1