소스 검색

极简模式的下一步按钮,点了没反应

zengyicheng 2 년 전
부모
커밋
93a31ae421
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/views/course/components/navBox.vue

+ 2 - 0
src/views/course/components/navBox.vue

@@ -152,6 +152,8 @@ export default {
             this.$emit('update:courseType', 0)
             this.$emit('update:taskCount', 0)
             this.navList[this.courseType].isOpen = true
+          } else {
+            this.$emit('update:taskCount', this.taskCount + 1)
           }
         } else {
           if (this.taskCount === this.chapList[this.courseType].chapterInfo[0].taskJson.length - 1) {