zengyicheng 1 rok temu
rodzic
commit
ef09cb8c7b
1 zmienionych plików z 4 dodań i 1 usunięć
  1. 4 1
      src/components/easy2/studyStudent.vue

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

@@ -649,7 +649,10 @@
               (chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
                 .toolChoose[0].tool &&
                 chapInfoList[courseType].chapterInfo[0].taskJson[taskCount]
-                  .toolChoose[0].tool.length > 0)
+                  .toolChoose[0].tool.length > 0) ||
+              courseDetail.userid == userid ||
+              (courseDetail.course_teacher &&
+                courseDetail.course_teacher.indexOf(userid) != -1)
             "
           >