lsc пре 2 година
родитељ
комит
889b94c893
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3 1
      src/components/pages/addCourse.vue

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

@@ -4499,7 +4499,7 @@ export default {
             }
             // if (i == _unitIndex) {
             //   continue;
-            // } else 
+            // } else
             // else if (i > this.unitJson.length - 1) {
             //   _unitJson.push(unitJson[i]);
             // }
@@ -4519,6 +4519,8 @@ export default {
                 break;
               }
             }
+          } else {
+            _unitJson2[this.unitIndex] = _unitJson[this.unitIndex];
           }
           if (index == 1) {
             this.unitJson = _unitJson;