#
luxiaotao1123
2022-04-06 c328fba5d919ac9bd8a22ab8e9d6a543bedf2a64
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}