diff --git a/script/index.js b/script/index.js index ebed025..1634a96 100644 --- a/script/index.js +++ b/script/index.js @@ -86,6 +86,7 @@ function submitData() { } // api.hideProgress(); mui.toast(param.name + " 已上传 " + param.feedWeight,{duration:1500,type:'div'}); + api.setGlobalData({key: 'startTime', value: currTimeFn(new Date())}); remark = '手动上传' beforeWeight = nowWeight; // document.getElementById('beforeWeight').innerHTML = '称实时/装料前:' + nowWeight + '/' + beforeWeight;