Ver código fonte

文章校对字幕问题

natasha 1 semana atrás
pai
commit
be73dbf560

+ 2 - 5
src/views/book/courseware/create/components/question/article/Article.vue

@@ -430,11 +430,8 @@ export default {
     },
     // 保存校对
     saveCompare() {
-      if (this.compareType == '文字') {
-        this.compareloading = false;
-        return;
-      }
-      this.data.wordTime = JSON.stringify(this.compareData);
+      this.compareloading = false;
+      this.data.wordTime = this.compareData;
       this.handleClose();
       // this.compareloading = true;
       // compareSenTenceTime({ matchList: JSON.stringify(this.compareData) })

+ 2 - 5
src/views/book/courseware/create/components/question/dialogue_article/Article.vue

@@ -736,11 +736,8 @@ export default {
     },
     // 保存校对
     saveCompare() {
-      if (this.compareType == '文字') {
-        this.compareloading = false;
-        return;
-      }
-      this.data.wordTime = JSON.stringify(this.compareData);
+      this.compareloading = false;
+      this.data.wordTime = this.compareData;
       this.handleClose();
       // this.compareloading = true;
       // compareSenTenceTime({ matchList: JSON.stringify(this.compareData) })

+ 0 - 3
src/views/book/courseware/preview/components/article/Voicefullscreen.vue

@@ -819,9 +819,6 @@ export default {
         } else if (e.keyCode === 40) {
           this.nextSentence();
         } else if (e.keyCode === 13) {
-          this.$nextTick(() => {
-            this.$refs.Soundrecorddiff.microphone();
-          });
         }
       }
     });