瀏覽代碼

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

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) {