From 7dcb653fabaee8f54ade250a941386e00adc1197 Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Wed, 23 Feb 2022 14:39:30 +0800
Subject: [PATCH] +

---
 pages/grabOrders/map.vue |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/pages/grabOrders/map.vue b/pages/grabOrders/map.vue
index 6e4e526..b751654 100644
--- a/pages/grabOrders/map.vue
+++ b/pages/grabOrders/map.vue
@@ -128,7 +128,7 @@
 					backgroundColor: "#FFF",
 				},
 				bye: true,
-				types: '',//android?
+				types: '', //android?
 			}
 		},
 		methods: {
@@ -760,16 +760,16 @@
 					longitude: +ins[0]
 				})
 			}
-			setTimeout(() => {
-				this.mypolylines[0] = { //指定一系列坐标点,从数组第一项连线至最后一项
-					points: ourline,
-					color: "#FE0000", //线的颜色
-					width: 2, //线的宽度
-					dottedLine: false, //是否虚线
-					arrowLine: false, //带箭头的线 开发者工具暂不支持该属性
-				}
-				console.log(this.mypolylines)
-			}, 1000)
+			// setTimeout(() => {
+			this.mypolylines[0] = { //指定一系列坐标点,从数组第一项连线至最后一项
+				points: ourline,
+				color: "#FE0000", //线的颜色
+				width: 10, //线的宽度
+				dottedLine: false, //是否虚线
+				arrowLine: false, //带箭头的线 开发者工具暂不支持该属性
+			}
+			console.log(this.mypolylines)
+			// }, 1000)
 			this.showWindow();
 			// this.getLocationInfo(data);
 			if (data.butCT == "beginUp" && data.buttype == 0) {

--
Gitblit v1.9.3