From 08ffcf9d7ffafaa82d8de7f9b5fcfdb49e9c3688 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期三, 05 十一月 2025 17:33:54 +0800
Subject: [PATCH] 动态溯源 1. 修复CO因子文本没有正常显示的问题;
---
src/utils/map/line.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/utils/map/line.js b/src/utils/map/line.js
index 195e797..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,7 +22,7 @@
}
function drawDirection(path) {
- const polyline = newPolyline(path, '#02ffea');
+ const polyline = newPolyline(path, '#ffd82a');
map.add(polyline);
return polyline;
}
--
Gitblit v1.9.3