From 30cf71affd5149a1310d84f658b028d267beee8b Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期三, 11 六月 2025 17:30:22 +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