From 90b327d8609b08ae03ead6294244d5fc841d199a Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 20 八月 2020 11:13:25 +0800
Subject: [PATCH] #

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

diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 78362d5..95495c2 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -524,7 +524,8 @@
                     for (var i = 0; i < crns.length; i++){
                         var crnEl = $("#crn-"+crns[i].crnId);
                         crnEl.attr("class", "machine " + crns[i].crnStatus);
-                        crnAnimate(crns[i].crnId, crns[i].offset);
+                        // crnAnimate(crns[i].crnId, crns[i].offset);
+                        crnEl.animate({left: (crns[i].bay * 30) +'px'}, 1000);
                     }
                 } else if (res.code === 403){
                     window.location.href = baseUrl+"/login";

--
Gitblit v1.9.1