From fdbbac3e711e6be54513cca6fa4ec3a17d293f49 Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期一, 10 四月 2023 14:13:59 +0800
Subject: [PATCH] 四向穿梭车充电逻辑

---
 src/main/webapp/views/shuttle.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/views/shuttle.html b/src/main/webapp/views/shuttle.html
index ce3a332..a9a6be3 100644
--- a/src/main/webapp/views/shuttle.html
+++ b/src/main/webapp/views/shuttle.html
@@ -611,7 +611,7 @@
                         setVal(tr.children("td").eq(13), table[i-1].currentOrBeforeCode);
                         setVal(tr.children("td").eq(14), table[i-1].codeOffsetX);
                         setVal(tr.children("td").eq(15), table[i-1].codeOffsetY);
-                        setVal(tr.children("td").eq(16), table[i-1].currentVoltage);
+                        setVal(tr.children("td").eq(16), table[i-1].currentVoltage ? table[i-1].currentVoltage + "V" : "");
                         setVal(tr.children("td").eq(17), table[i-1].currentAnalogValue);
                     }
                 } else if (res.code === 403){

--
Gitblit v1.9.1