删除假数据

This commit is contained in:
李志发
2024-05-31 14:29:14 +08:00
parent 6bbebe1286
commit 5e335d1c0d
2 changed files with 27 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ export default {
getProgress(id){
getProgress({teacherId:id}).then(res=>{
this.progressData=res.data
if (res.data.length==0){
if (res.data.length==0 || res.data==null || res.data==''){
this.disabled=true
return
}