From c328fba5d919ac9bd8a22ab8e9d6a543bedf2a64 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期三, 06 四月 2022 13:40:29 +0800
Subject: [PATCH] #

---
 static/js/object/StaTask.js |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/static/js/object/StaTask.js b/static/js/object/StaTask.js
index a24aba1..e96668e 100644
--- a/static/js/object/StaTask.js
+++ b/static/js/object/StaTask.js
@@ -8,19 +8,26 @@
 
     that.no = 0;
     that.run = false;
+    that.loaded = 0;
 
     let init = function () {
         that.no = staData.no;
     }
     init();
 
-
     that.modify = function (staData) {
+        if (that.loaded === 0 && staData.loaded === 1) {
+            // 鏃犺揣 ===>> 鏈夎揣
+        }
+        if (that.loaded === 1 && staData.loaded === 0) {
+            // 鏈夎揣 ===>> 鏃犺揣
+        }
 
     }
 
     that.change = function () {
-        console.log(1)
     }
 
 }
+
+export {StaTask}

--
Gitblit v1.9.1