提前调用函数计时

This commit is contained in:
nisen
2023-11-22 14:05:52 +08:00
parent edec2b7f30
commit 8105682cd0

View File

@@ -1460,8 +1460,8 @@
let endTime = new Date().getTime();
this.appentInterval = 60
let totalTime = Math.round((endTime - this.appendStartTime) / 1000);
this.saveStudyDuration(totalTime)
this.appendStudyTime();
this.saveStudyDuration(totalTime)
}, this.appentInterval * 1000);
},
//追加学习时长, flag是否提交到后台