From e9a4418c14ef68fb454300b092c413e8df259ec2 Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期六, 13 四月 2024 11:50:56 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/map/utils.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/utils.js b/zy-asrs-flow/src/pages/map/utils.js
index 53e5f73..75532e5 100644
--- a/zy-asrs-flow/src/pages/map/utils.js
+++ b/zy-asrs-flow/src/pages/map/utils.js
@@ -633,10 +633,10 @@
 
     pathLine = new PIXI.Graphics();
     pathLine.name = pathLineName;
-    pathLine.lineStyle(2 * (1 / mapContainer.scale.x), 0x3498db, 0.8);
+    pathLine.lineStyle(3 * (1 / mapContainer.scale.x), 0x3498db, 0.8);
     pathLine.zIndex = SENSOR_ZINDEX.TRAVEL_PATH;
     let firstNode = true;
-    for (let i = Math.max(0, path.indexOf(curLocNo) - 1); i < path.length; i++) {
+    for (let i = Math.max(0, path.indexOf(curLocNo)); i < path.length; i++) {
         const { row, bay, lev } = parseLocNo(path[i]);
         if (Number(lev) !== curFloor) { continue }
         const shelf = querySprite(SENSOR_TYPE.SHELF, row + '-' + bay);

--
Gitblit v1.9.1