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}