#
luxiaotao1123
2022-07-01 16ef20e7d39ecc946f97bbf405c0325ef9f00f01
#
2个文件已修改
13 ■■■■ 已修改文件
static/js/app.js 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/js/object/StaTask.js 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/js/app.js
@@ -73,7 +73,6 @@
            this.queryCrn();
            this.crnMove();
            this.querySta();
            this.staChange();
        }
        this.initScene = function () {
            this.scene = new THREE.Scene();
@@ -375,11 +374,6 @@
                        }
                    }
                }
            }
        }
        this.staChange = function () {
            for (let staTask of this.staTasks) {
                staTask.change();
            }
        }
static/js/object/StaTask.js
@@ -7,6 +7,7 @@
    that.object = object;
    that.no = 0;
    that.isDel = false;
    that.readyIn = false;
    that.run = false;
    that.loaded = 0;
@@ -26,11 +27,15 @@
        if (!that.position && item) {
            that.position = item.position;
        }
        if (!item) {
            that.isDel = true;
        }
    }
    init();
    that.modify = function (staData) {
        if (that.no === 0) {
        if (that.no === 0 && !that.isDel) {
            return;
        }