|  | @@ -76,7 +76,10 @@
 | 
	
		
			
				|  |  |            :key="index"
 | 
	
		
			
				|  |  |            v-for="(item, index) in dataList"
 | 
	
		
			
				|  |  |          >
 | 
	
		
			
				|  |  | -          {{ item.currentClassTimes }}/{{ item.totalClassTimes }}课时
 | 
	
		
			
				|  |  | +        <div v-if="item.totalClassTimes">
 | 
	
		
			
				|  |  | +           {{ item.currentClassTimes }}/{{ item.totalClassTimes }}课时
 | 
	
		
			
				|  |  | +        </div>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |          </descriptions-item>
 | 
	
		
			
				|  |  |        </descriptions>
 | 
	
		
			
				|  |  |      </div>
 | 
	
	
		
			
				|  | @@ -126,6 +129,13 @@ export default {
 | 
	
		
			
				|  |  |            term: this.searchForm.term,
 | 
	
		
			
				|  |  |          });
 | 
	
		
			
				|  |  |          this.dataList = res.data;
 | 
	
		
			
				|  |  | +        if(this.dataList.length > 0&&this.dataList.length<4){
 | 
	
		
			
				|  |  | +          // 样式丑 至少对齐一排
 | 
	
		
			
				|  |  | +          for(let i=0;i<=4-this.dataList.length;i++){
 | 
	
		
			
				|  |  | +            this.dataList.push({name:null,totalClassTimes:null,currentClassTimes:null})
 | 
	
		
			
				|  |  | +          }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        console.log(this.dataList )
 | 
	
		
			
				|  |  |        } catch (e) {}
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |    },
 |