修复弹幕console控制台报错

This commit is contained in:
xiongxiaoyang 2019-11-11 13:24:39 +08:00
parent e2f154516a
commit de0634de89

View File

@ -404,6 +404,7 @@
if(!eval(localStorage.getItem(isShowKey))){
clearInterval(schedule);
}
if(data.length>i) {
currentCreateTime = new Date(data[i].createTime).getTime();
if (lastCreateTime && currentCreateTime - lastCreateTime > 60000 && sllepTime <= 3000) {
if (sllepTime == 3000) {
@ -420,6 +421,7 @@
i++;
lastCreateTime = currentCreateTime;
}
}