From c3f17c80d1d59bce27eee9bedfcfe6767f0dfaa9 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期五, 07 一月 2022 08:50:27 +0800
Subject: [PATCH] #

---
 static/js/data/Asrs.js      |    4 ++--
 static/js/object/CrnTask.js |    4 +++-
 views/index.html            |    4 ++--
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/static/js/data/Asrs.js b/static/js/data/Asrs.js
index 2a6cbea..ae773cb 100644
--- a/static/js/data/Asrs.js
+++ b/static/js/data/Asrs.js
@@ -22,8 +22,8 @@
 var Store3DData;
 function initStore() {
     $.ajax({
-        // url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1',
-        url: 'http://localhost:9090/jkwcs/three/init/store/v1',
+        url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1',
+        // url: 'http://localhost:9090/jkwcs/three/init/store/v1',
         type: "POST",
         data: {},
         // async: false,
diff --git a/static/js/object/CrnTask.js b/static/js/object/CrnTask.js
index 24cef5d..ae19e16 100644
--- a/static/js/object/CrnTask.js
+++ b/static/js/object/CrnTask.js
@@ -163,7 +163,9 @@
         }
 
         curves.map((value, index) => {
-            // console.log(value.part + " --> " + JSON.stringify(value.route.points))
+            if (that.crnNo === 1) {
+                // console.log(value.part + " --> " + JSON.stringify(value.route.points))
+            }
         });
 
         curves[0].start = true;
diff --git a/views/index.html b/views/index.html
index c16fdd1..2eef0de 100644
--- a/views/index.html
+++ b/views/index.html
@@ -234,8 +234,8 @@
     var speedDom = document.getElementById("speed");
     var timer = setInterval(function () {
         if (percent < 100.00) {
-            // percent += 0.04;
-            percent += 1;
+            percent += 0.04;
+            // percent += 1;
             speedDom.innerText = percent.toFixed(2);
         } else {
             speedDom.innerText = '100.00';

--
Gitblit v1.9.1