dev #63
@ -426,7 +426,9 @@ struct UserInfo {
|
||||
that.interval = setInterval(() => {
|
||||
if (that.numCount < 3) {
|
||||
that.numCount++
|
||||
that.getExaminationStudentInfoFn()
|
||||
if(that.list.length){
|
||||
that.getExaminationStudentInfoFn()
|
||||
}
|
||||
}
|
||||
}, 5000)
|
||||
}else{
|
||||
@ -436,7 +438,9 @@ struct UserInfo {
|
||||
if(that.list.length == 0){
|
||||
clearInterval(that.interval)
|
||||
that.interval = setInterval(() => {
|
||||
if(that.list.length){
|
||||
that.getExaminationStudentInfoFn()
|
||||
}
|
||||
}, 5000)
|
||||
}else{
|
||||
that.getExaminationStudentInfoFn()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user