lsc 2 年 前
コミット
41013eb389
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/components/pages/addCourse.vue

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

@@ -4507,7 +4507,7 @@ export default {
             // } else
           }
 
-          if (_chapAarry.length) {
+          if (_chapAarry.length && index != 2) {
             if (chapindex < _unitIndex) {
               this.isDelete = 2;
               this.unitIndex--;
@@ -4527,7 +4527,7 @@ export default {
                 }
               }
             }
-          } else {
+          } else if(index != 2) {
             _unitJson[this.unitIndex] = _unitJson2[this.unitIndex];
           }
           if (index == 1) {