mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
修改
This commit is contained in:
@@ -265,7 +265,7 @@ export default {
|
||||
this.endTimeRequst(this.resolveId, recordEndTime)
|
||||
sessionStorage.removeItem('startTime')
|
||||
window.removeEventListener("scroll", this.handleScroll);
|
||||
clearInterval(this.setTimeCase);
|
||||
clearTimeout(this.setTimeCase);
|
||||
this.cumulativeDuration = 0;
|
||||
},
|
||||
methods: {
|
||||
@@ -560,7 +560,7 @@ export default {
|
||||
this.sendEventData()
|
||||
}else{
|
||||
this.cumulativeDuration = 0
|
||||
clearInterval(this.setTimeCase);
|
||||
clearTimeout(this.setTimeCase);
|
||||
this.setTimeCase = null
|
||||
}
|
||||
}, 61000);//1分钟之后发送阅读案例事件
|
||||
|
||||
Reference in New Issue
Block a user