From 04d7e13a62ffd549840a3b2beb1d335f049cb3d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E5=8F=91?= <2577324884@qq.com> Date: Fri, 31 May 2024 17:34:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/lecturer/OnlineLearning.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/lecturer/OnlineLearning.vue b/src/views/lecturer/OnlineLearning.vue index ec242c81..6a2a66bb 100644 --- a/src/views/lecturer/OnlineLearning.vue +++ b/src/views/lecturer/OnlineLearning.vue @@ -65,10 +65,9 @@ export default { this.progressData=res.data if ( res.data.length>=1 ){ res.data.forEach((item,index)=>{ - if (item.progress==100){ - - }else if (item.progress==100 && index==res.data.length-1) { + if (item.progress==100 && index==res.data.length-1){ this.disabled=false + }else if (item.progress==100) { }else { this.disabled=true return