lsc 2 år sedan
förälder
incheckning
f7b5d7b21b

+ 1 - 1
dist/index.html

@@ -25,7 +25,7 @@
       height: 100%;
       width: 100%;
       background: #e6eaf0;
-    }</style><link href=./static/css/app.3fa8543a3e627e933809fa22a945cd7b.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.107be5c8cc06ac64330b.js></script><script type=text/javascript src=./static/js/app.83eba394eb58edd6f300.js></script></body></html><script>function stopSafari() {
+    }</style><link href=./static/css/app.fa994015a8b4e868376652fed50155ec.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.107be5c8cc06ac64330b.js></script><script type=text/javascript src=./static/js/app.a4381477111a07e063eb.js></script></body></html><script>function stopSafari() {
     //阻止safari浏览器双击放大功能
     let lastTouchEnd = 0  //更新手指弹起的时间
     document.documentElement.addEventListener("touchstart", function (event) {

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/css/app.fa994015a8b4e868376652fed50155ec.css


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/css/app.fa994015a8b4e868376652fed50155ec.css.map


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/js/app.83eba394eb58edd6f300.js


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/js/app.a4381477111a07e063eb.js


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/js/app.a4381477111a07e063eb.js.map


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 0 - 0
dist/static/js/manifest.3512a67a6213c2df4180.js.map


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

@@ -1599,7 +1599,7 @@
                             <div class="tool">
                               <div
                                 class="whiteBIcon"
-                                @click="addTools(48, itemTaskIndex, toolIndex)"
+                                @click="openTools(itemTaskIndex, 48, toolIndex)"
                               >
                                 <img
                                   src="../../assets/icon/fourthToolList/table.png"
@@ -5454,24 +5454,24 @@ export default {
         }
         this.dialogVisibleSentence = true;
       }
-      //  else if (i == 48) {
-      //   if (
-      //     this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
-      //       .toolChoose[toolIndex].tableJson
-      //   ) {
-      //     this.tableJson = JSON.parse(
-      //       JSON.stringify(
-      //         this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
-      //           itemTaskIndex
-      //         ].toolChoose[toolIndex].tableJson
-      //       )
-      //     );
-      //   } else {
-      //     var tableJson = { text: "" };
-      //     this.tableJson = tableJson;
-      //   }
-      //   this.dialogVisibleTable = true;
-      // }
+       else if (i == 48) {
+        if (
+          this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
+            .toolChoose[toolIndex].tableJson
+        ) {
+          this.tableJson = JSON.parse(
+            JSON.stringify(
+              this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
+                itemTaskIndex
+              ].toolChoose[toolIndex].tableJson
+            )
+          );
+        } else {
+          var tableJson = { text: "" };
+          this.tableJson = tableJson;
+        }
+        this.dialogVisibleTable = true;
+      }
       else if (i == 50) {
         if (
           this.unitJson[this.unitIndex].chapterInfo[0].taskJson[itemTaskIndex]
@@ -6716,10 +6716,10 @@ export default {
       }
     },
     addTableJson() {
-      if (this.tableJson.text == "" || this.tableJson.text == "<p></p>") {
-        this.$message.error("请将信息填写完整!");
-        return;
-      }
+      // if (this.tableJson.text == "" || this.tableJson.text == "<p></p>") {
+      //   this.$message.error("请将信息填写完整!");
+      //   return;
+      // }
       this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
         this.taskCount
       ].toolChoose[this.toolIndex].tableJson = this.tableJson;

Vissa filer visades inte eftersom för många filer har ändrats