lsc 2 년 전
부모
커밋
c74fe8215d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/pages/addCourse.vue

+ 1 - 1
src/components/pages/addCourse.vue

@@ -4471,7 +4471,7 @@ export default {
             }
             }
             console.log(_chapAarry);
             console.log(_chapAarry);
             for (let d = 0; d < _unitJson2.length; d++) {
             for (let d = 0; d < _unitJson2.length; d++) {
-              if (_chapAarry(_unitJson2[d].chapterInfo[0].chapterid) != -1) {
+              if (_chapAarry.indexOf(_unitJson2[d].chapterInfo[0].chapterid) != -1) {
                 this.$message.error("您所修改的阶段已经被其他老师删除了");
                 this.$message.error("您所修改的阶段已经被其他老师删除了");
               }
               }
             }
             }