lsc 2 vuotta sitten
vanhempi
commit
2a87eb5f4a
2 muutettua tiedostoa jossa 196 lisäystä ja 476 poistoa
  1. 12 0
      src/components/pages/addCourse.vue
  2. 184 476
      src/components/pages/addCourseGM.vue

+ 12 - 0
src/components/pages/addCourse.vue

@@ -4267,6 +4267,12 @@ export default {
         this.taskCount
       ].toolChoose[this.toolIndex].answerQ = this.answerQ;
       this.dialogVisible8 = false;
+
+      if (this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
+        this.taskCount
+      ].toolChoose[this.toolIndex].tool != 15) {
+        this.addTools(15, this.taskCount, this.toolIndex)
+      }
     },
     addMp3Answer() {
       if (this.answerQ == "") {
@@ -4294,6 +4300,12 @@ export default {
         this.taskCount
       ].toolChoose[this.toolIndex].rateJson = this.rateJson;
       this.dialogVisibleRate = false;
+
+      if (this.unitJson[this.unitIndex].chapterInfo[0].taskJson[
+        this.taskCount
+      ].toolChoose[this.toolIndex].tool != 40) {
+        this.addTools(40, this.taskCount, this.toolIndex)
+      }
     },
     addSelectAnswer() {
       if (this.selectJson.url == "") {

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 184 - 476
src/components/pages/addCourseGM.vue


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä