Browse Source

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

zengyicheng 2 years ago
parent
commit
93a31ae421
1 changed files with 2 additions and 0 deletions
  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:courseType', 0)
             this.$emit('update:taskCount', 0)
             this.$emit('update:taskCount', 0)
             this.navList[this.courseType].isOpen = true
             this.navList[this.courseType].isOpen = true
+          } else {
+            this.$emit('update:taskCount', this.taskCount + 1)
           }
           }
         } else {
         } else {
           if (this.taskCount === this.chapList[this.courseType].chapterInfo[0].taskJson.length - 1) {
           if (this.taskCount === this.chapList[this.courseType].chapterInfo[0].taskJson.length - 1) {