static/js/app.js
@@ -29,7 +29,7 @@ this.initLight(); this.initFloor(); this.initModel(); this.initModel0(); this.queryTask(); this.initStoreObjects(this); } this.animate = function () { @@ -256,12 +256,15 @@ // // } // } this.firstTime = 0; // this.firstTime = 0; } } } this.initModel0 = function () { this.queryTask = function () { if (this.firstTime === 1) { queryTaskCurrent(); console.log(TaskData); } } this.getExistedGoodType=function(state){ for (let i=0;i<this.goodTypes.length;i++) {