From 550e9d184de694006bfd110a860269e939e56ce9 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期一, 10 一月 2022 15:30:31 +0800
Subject: [PATCH] #
---
static/js/object/CrnTask.js | 24 ------------------------
views/index.html | 2 +-
2 files changed, 1 insertions(+), 25 deletions(-)
diff --git a/static/js/object/CrnTask.js b/static/js/object/CrnTask.js
index fd6e317..c1e114e 100644
--- a/static/js/object/CrnTask.js
+++ b/static/js/object/CrnTask.js
@@ -141,27 +141,6 @@
})
}
- // 鍫嗗灈鏈烘湰浣撹繍鍔ㄨ建杩�
- if (that.prePosition.z !== that.position.z && false) {
- curves.push({
- start: false,
- progress: 0,
- part: 'body',
- route: new Route([
- {
- x: that.crnBody.position.x,
- y: that.crnBody.position.y,
- z: that.prePosition.z
- },
- {
- x: that.crnBody.position.x,
- y: that.crnBody.position.y,
- z: that.position.z
- }
- ])
- })
- }
-
curves.map((value, index) => {
if (that.crnNo === 1) {
// console.log(value.part + " --> " + JSON.stringify(value.route.points))
@@ -189,9 +168,6 @@
let point = curves[i].route.getPoint(curves[i].progress);
if ( point && point.x ) {
switch (curves[i].part) {
- case 'body':
- that.crnBody.position.set(point.x, point.y, point.z);
- break
case 'load':
that.crnBody.position.z = point.z + zOffset - that.crnBody.userData.crnBodyWidth/2;
that.crnLoad.position.set(point.x, point.y + yOffset0, point.z + zOffset0 - that.crnLoad.userData.crnLoadWidth/2 + 5);
diff --git a/views/index.html b/views/index.html
index 2eef0de..daa4b3a 100644
--- a/views/index.html
+++ b/views/index.html
@@ -236,7 +236,7 @@
if (percent < 100.00) {
percent += 0.04;
// percent += 1;
- speedDom.innerText = percent.toFixed(2);
+ // speedDom.innerText = percent.toFixed(2);
} else {
speedDom.innerText = '100.00';
if (!hasClass(shipInfoBtn, "show")) {
--
Gitblit v1.9.1