Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
surenjun 2024-09-09 16:59:17 +08:00
commit 9445377a5d

View File

@ -426,8 +426,10 @@ struct UserInfo {
that.interval = setInterval(() => { that.interval = setInterval(() => {
if (that.numCount < 3) { if (that.numCount < 3) {
that.numCount++ that.numCount++
if(that.list.length){
that.getExaminationStudentInfoFn() that.getExaminationStudentInfoFn()
} }
}
}, 5000) }, 5000)
}else{ }else{
that.getExaminationStudentInfoFn() that.getExaminationStudentInfoFn()
@ -436,7 +438,9 @@ struct UserInfo {
if(that.list.length == 0){ if(that.list.length == 0){
clearInterval(that.interval) clearInterval(that.interval)
that.interval = setInterval(() => { that.interval = setInterval(() => {
if(that.list.length){
that.getExaminationStudentInfoFn() that.getExaminationStudentInfoFn()
}
}, 5000) }, 5000)
}else{ }else{
that.getExaminationStudentInfoFn() that.getExaminationStudentInfoFn()