소스 검색

去掉双师制校验

谢杰标 2 년 전
부모
커밋
ca2b1dc148
1개의 변경된 파일9개의 추가작업 그리고 9개의 파일을 삭제
  1. 9 9
      src/components/courseTree/CourseTree.vue

+ 9 - 9
src/components/courseTree/CourseTree.vue

@@ -625,15 +625,15 @@ export default {
       if (courseId == nowCourseId) {
         return;
       }
-      if (index) {
-        let { stuAllNum, secAllNum } = this.treeList[index - 1];
-        if (stuAllNum != secAllNum) {
-          return this.$message({
-            type: "warning",
-            message: "需按课程顺序学习",
-          });
-        }
-      }
+      // if (index) {
+      //   let { stuAllNum, secAllNum } = this.treeList[index - 1];
+      //   if (stuAllNum != secAllNum) {
+      //     return this.$message({
+      //       type: "warning",
+      //       message: "需按课程顺序学习",
+      //     });
+      //   }
+      // }
       let course = this.courseList.find((e) => e.courseId == courseId);
       if (course) {
         course.courseList = courseList;