he2802 3 년 전
부모
커밋
7e70a16964
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      components/course/courseChapter.vue

+ 4 - 3
components/course/courseChapter.vue

@@ -79,11 +79,12 @@ export default {
 			if(!this.down&&this.list.length==0){
 				console.log(item.id,69)
 				if(this.isBuy){
+					let moduleId = item.moduleId?item.moduleId:0
 					if(this.isRebuild){
-						this.getReSectionList(item.id,item.courseId,item.moduleId)
+						this.getReSectionList(item.id,item.courseId,moduleId)
 					}else{
-						this.getBuySectionList(item.id,item.courseId,item.moduleId)
-						this.getMenuExamList(item.id,item.courseId,item.moduleId)
+						this.getBuySectionList(item.id,item.courseId,moduleId)
+						this.getMenuExamList(item.id,item.courseId,moduleId)
 					}
 				}else{
 					this.getSectionList(item.id)