From 1df29b623eb9d49091303db4c611fc4568db70b1 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期一, 13 十二月 2021 08:58:27 +0800
Subject: [PATCH] #
---
static/js/app.js | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/static/js/app.js b/static/js/app.js
index 6bede19..9b020f1 100644
--- a/static/js/app.js
+++ b/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++) {
--
Gitblit v1.9.1