From c23ac06446a9a1edc41cc13723e5d0b8eabdfd63 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 16 七月 2025 17:30:50 +0800
Subject: [PATCH] 2025.7.16 动态溯源新增合并异常

---
 src/utils/map/line.js |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/utils/map/line.js b/src/utils/map/line.js
index bb32b78..a4395dd 100644
--- a/src/utils/map/line.js
+++ b/src/utils/map/line.js
@@ -9,7 +9,8 @@
   // eslint-disable-next-line no-undef
   return new AMap.Polyline({
     path: path,
-    strokeStyle: 'solid',
+    // strokeStyle: 'solid',
+    strokeStyle: 'dashed',
     isOutline: true,
     borderWeight: 1,
     outlineColor: 'white',
@@ -21,8 +22,9 @@
 }
 
 function drawDirection(path) {
-  const polyline = newPolyline(path, '#02ffea');
-  map.add(polyline)
+  const polyline = newPolyline(path, '#ffd82a');
+  map.add(polyline);
+  return polyline;
 }
 
 export default {

--
Gitblit v1.9.3