chenxiong 3 anos atrás
pai
commit
40b05ef6c6

+ 1 - 0
components/course/courseChapter.vue

@@ -98,6 +98,7 @@ export default {
 	},
 	methods: {
 		refreshList() {
+			console.log(9999)
 			let moduleId = this.menuItem.moduleId?this.menuItem.moduleId:0
 			this.getBuySectionList(this.menuItem.id,this.menuItem.courseId,moduleId)
 		},

+ 2 - 4
components/course/courseSection.vue

@@ -166,8 +166,7 @@ export default {
 				uni.$emit('getSection', this.menuItem)
 				uni.$off('playEnd')
 				uni.$on('playEnd',res => {
-					console.log(1)
-					uni.$off('playEnd')
+					console.log('playEnd2')
 					this.$emit('playEnd')
 				})
 			}
@@ -194,8 +193,7 @@ export default {
 				uni.$emit('getChannel', this.menuItem)
 				uni.$off('playEnd')
 				uni.$on('playEnd',res => {
-					console.log('playEnd')
-					uni.$off('playEnd')
+					console.log('playEnd1')
 					this.$emit('playEnd')
 				})