lsc před 3 roky
rodič
revize
bba75a0d1d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/components/pages/addCourse.vue

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

@@ -4508,7 +4508,7 @@ export default {
           }
 
           if (_chapAarry.length) {
-            if (chapindex > _unitIndex) {
+            if (chapindex < _unitIndex) {
               this.isDelete = 2;
               this.unitIndex--;
             }