interval修改

This commit is contained in:
lvyuankang 2024-09-12 11:23:27 +08:00
parent c2fa43f720
commit 5f0ed2b450

View File

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