#
luxiaotao1123
2021-12-17 cc6d5f5fb6bbb23e88a95752a6e5265323d1c7d9
static/js/object/CrnTask.js
@@ -26,8 +26,6 @@
    that.crnFork = null;
    let curves = [];
    that.curve = null;
    that.progress = 0;
    let init = function () {
        that.crnNo = crnData.crnNo;
@@ -134,14 +132,12 @@
                    ])
                })
            }
            curves.map((value, index) => {
                console.log(value.part + " --> " + JSON.stringify(value.route.points))
            });
            curves[0].start = true;
            console.log(curves);
            // new Route();    // load
            // console.log(that.curve);
            // console.log("pre" + JSON.stringify(that.prePosition));
            // console.log(JSON.stringify(that.position));
        }
    }
@@ -161,7 +157,6 @@
                        }
                    } else {
                        let point = curves[i].route.getPoint(curves[i].progress);
                        console.log(point)
                        if ( point && point.x ) {
                            switch (curves[i].part) {
                                case 'body':