|
|
@@ -226,15 +226,15 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
preveItem(){
|
|
|
- if(self.courseIndex>0){
|
|
|
- self.courseIndex = self.courseIndex-1
|
|
|
- self.courseItem = self.workList[self.courseIndex]
|
|
|
+ if(this.courseIndex>0){
|
|
|
+ this.courseIndex = this.courseIndex-1
|
|
|
+ this.courseItem = this.workList[this.courseIndex]
|
|
|
}
|
|
|
},
|
|
|
nextItem(){
|
|
|
- if(self.courseIndex<self.workList.length-1){
|
|
|
- self.courseIndex = self.courseIndex+1
|
|
|
- self.courseItem = self.workList[self.courseIndex]
|
|
|
+ if(this.courseIndex<this.workList.length-1){
|
|
|
+ this.courseIndex = this.courseIndex+1
|
|
|
+ this.courseItem = this.workList[this.courseIndex]
|
|
|
}
|
|
|
},
|
|
|
jumpCourseDetail(){
|