From 8a1c1d170ef812d2424be61ad3b22cbc655aaebc Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 05 三月 2024 08:29:48 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/home/agvMap.html |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/main/webapp/views/home/agvMap.html b/src/main/webapp/views/home/agvMap.html
index e705dcc..6258351 100644
--- a/src/main/webapp/views/home/agvMap.html
+++ b/src/main/webapp/views/home/agvMap.html
@@ -747,10 +747,11 @@
                 //鑾峰彇鐪熷疄搴撲綅琛屽彿锛岄�氳繃鍧愭爣x
                 let data = this.map
                 let rowData = data[x]
-                for (var i = 1; i < rowData.length; i++) {
+                for (var i = 0; i < rowData.length; i++) {
                     if (rowData[i].locNo != undefined) {
                         let locNo = rowData[i].locNo;
-                        return "#" + parseInt(locNo.substr(0, 2));
+                        //return "#" + parseInt(locNo.substr(0, 2));
+                        return "#" + (x < 10 ? '0' + x : x);
                     }
                 }
 

--
Gitblit v1.9.1