lsc 1 jaar geleden
bovenliggende
commit
2414fcd1b7

+ 1 - 1
dist/index.html

@@ -25,7 +25,7 @@
       height: 100%;
       width: 100%;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.0301529b217d40f71ee22df5c31ac29c.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.f1661c5ebfd33221b88f.js></script><script type=text/javascript src=./static/js/app.e86ea5f273afbf7b899d.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.97e66062df607de84fcee6bd7184ff57.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.3512a67a6213c2df4180.js></script><script type=text/javascript src=./static/js/vendor.f1661c5ebfd33221b88f.js></script><script type=text/javascript src=./static/js/app.6967cf2ef81b01f0ad19.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.97e66062df607de84fcee6bd7184ff57.css


File diff suppressed because it is too large
+ 0 - 0
dist/static/css/app.97e66062df607de84fcee6bd7184ff57.css.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.6967cf2ef81b01f0ad19.js


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/app.6967cf2ef81b01f0ad19.js.map


File diff suppressed because it is too large
+ 0 - 0
dist/static/js/manifest.3512a67a6213c2df4180.js.map


+ 19 - 0
src/components/pages/easy/addCourse.vue

@@ -7293,9 +7293,18 @@ export default {
               this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index - 1]
             )
           );
+          let b = JSON.parse(
+            JSON.stringify(
+              this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index]
+            )
+          )
           this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index - 1] =
             this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index];
           this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index] = a;
+          if((index - 1) == 0){
+            this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index - 1].chapterData = a.chapterData;
+            this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index].chapterData = b.chapterData;
+          }
         }
       } else {
         if (
@@ -7307,9 +7316,19 @@ export default {
               this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index + 1]
             )
           );
+          let b = JSON.parse(
+            JSON.stringify(
+              this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index]
+            )
+          )
           this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index + 1] =
             this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index];
           this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index] = a;
+
+          if((index) == 0){
+            this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index + 1].chapterData = a.chapterData;
+            this.unitJson[this.unitIndex].chapterInfo[0].taskJson[index].chapterData = b.chapterData;
+          }
         }
       }
       this.$forceUpdate();

Some files were not shown because too many files changed in this diff