Selaa lähdekoodia

听说训练编辑问题

natasha 1 vuosi sitten
vanhempi
commit
90675b7467

+ 1 - 1
src/views/exercise_questions/create/components/exercises/RepeatQuestion.vue

@@ -276,7 +276,7 @@ export default {
           if (index > -1) {
             this.handleItemPinyin(content, this.data.option_list[i].mark);
             setTimeout(() => {
-              document.getElementsByClassName('repeat-richtext')[i].innerText =
+              document.getElementsByClassName('repeat-richtext')[i].getElementsByClassName('rich-text')[0].innerText =
                 this.matically_pinyin_obj[this.data.option_list[i].mark];
               this.data.option_list[i].content = this.matically_pinyin_obj[this.data.option_list[i].mark];
             }, 100);