lsc 1 年之前
父節點
當前提交
7d45a067df
共有 3 個文件被更改,包括 4 次插入4 次删除
  1. 1 1
      src/components/easy2/studyStudent.vue
  2. 2 1
      src/components/easy3/studyStudent.vue
  3. 1 2
      src/components/studyStudent.vue

+ 1 - 1
src/components/easy2/studyStudent.vue

@@ -373,7 +373,7 @@
                       >
                         <div
                           class="vedioTimeBox"
-                          v-for="(vitem, vindex) in vChapterData[0]"
+                          v-for="(vitem, vindex) in vChapterData[taskCount]"
                           :key="vindex + '1'"
                         >
                           <div class="navListItem" v-if="vitem.type == 2">

+ 2 - 1
src/components/easy3/studyStudent.vue

@@ -15302,7 +15302,8 @@ export default {
       this.ajax
         .get(this.$store.state.api + "selectCourseSLook", params)
         .then((res) => {
-          this.sIsOpen = res.data[0][0].sopen == 1 ? false : true;
+          // this.sIsOpen = res.data[0][0].sopen == 1 ? false : true;
+          this.sIsOpen = true;
           this.IsLookOpen = res.data[0][0].look == 1 ? false : true;
           this.IsFollow = res.data[0][0].follow == 1 ? false : true;
           if (!this.IsLookOpen) {

+ 1 - 2
src/components/studyStudent.vue

@@ -14534,8 +14534,7 @@ export default {
       this.ajax
         .get(this.$store.state.api + "selectCourseSLook", params)
         .then((res) => {
-          // this.sIsOpen = res.data[0][0].sopen == 1 ? false : true;
-          this.sIsOpen = true;
+          this.sIsOpen = res.data[0][0].sopen == 1 ? false : true;
           this.IsLookOpen = res.data[0][0].look == 1 ? false : true;
           this.IsFollow = res.data[0][0].follow == 1 ? false : true;
           if (!this.IsLookOpen) {