lsc 2 anni fa
parent
commit
5f28486870
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/components/pages/addCourse.vue

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

@@ -4482,7 +4482,7 @@ export default {
               }
               }
             }
             }
           } else {
           } else {
-            _unitJson = _unitJson2;
+            _unitJson = JSON.parse(JSON.stringify(_unitJson2));
           }
           }
 
 
           for (let i = 0; i < unitJson.length; i++) {
           for (let i = 0; i < unitJson.length; i++) {