From 1ede6ea303c0be3ca2cc8c6325fec9341e3bd8d9 Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期二, 19 三月 2024 17:00:47 +0800
Subject: [PATCH] #

---
 zy-asrs-flow/src/pages/map/components/mapSettings.jsx |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/zy-asrs-flow/src/pages/map/components/mapSettings.jsx b/zy-asrs-flow/src/pages/map/components/mapSettings.jsx
index 073a9c8..e01c7f2 100644
--- a/zy-asrs-flow/src/pages/map/components/mapSettings.jsx
+++ b/zy-asrs-flow/src/pages/map/components/mapSettings.jsx
@@ -122,6 +122,13 @@
                         }
                         break;
                     case Utils.SENSOR_TYPE.AGV:
+                        if (values.incrementValue === 'no') {
+                            if (values.incrementMode === 'descending') {
+                                copiedSprite.data.no = Number(curSprite.data.no) - i - 1;
+                            } else {
+                                copiedSprite.data.no = Number(curSprite.data.no) + i + 1;
+                            }
+                        }
                         break;
                     default:
                         break;

--
Gitblit v1.9.1