From 16eb4bd55a4fd61ddd7a171b1a07378c45d1665b Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期四, 05 六月 2025 13:59:28 +0800
Subject: [PATCH] 动态溯源(待完成)

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

diff --git a/src/utils/map/line.js b/src/utils/map/line.js
index bb32b78..195e797 100644
--- a/src/utils/map/line.js
+++ b/src/utils/map/line.js
@@ -22,7 +22,8 @@
 
 function drawDirection(path) {
   const polyline = newPolyline(path, '#02ffea');
-  map.add(polyline)
+  map.add(polyline);
+  return polyline;
 }
 
 export default {

--
Gitblit v1.9.3