natasha 3 日 前
コミット
23fafeaf60

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

@@ -94,7 +94,7 @@
                 {{ itemActive.pinyin }}
                 {{ itemActive.pinyin }}
               </span>
               </span>
               <span class="words">
               <span class="words">
-                {{ itemActive.text }}
+                {{ itemActive.chs }}
               </span>
               </span>
             </div>
             </div>
           </div>
           </div>
@@ -879,7 +879,7 @@ export default {
       this.itemActive = item;
       this.itemActive = item;
       this.pinyinList = [];
       this.pinyinList = [];
       toolGetWordPinyinCorrectionList({
       toolGetWordPinyinCorrectionList({
-        word: item.text,
+        word: item.chs,
       })
       })
         .then((res) => {
         .then((res) => {
           if (res.status === 1) {
           if (res.status === 1) {

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

@@ -85,7 +85,7 @@
                       }"
                       }"
                       @click="selectItem(wItem)"
                       @click="selectItem(wItem)"
                     >
                     >
-                      <span class="pinyin">{{
+                      <span class="pinyin" v-if="isEnable(data.property.view_pinyin)">{{
                         windex === 0 &&
                         windex === 0 &&
                         wIndex === 0 &&
                         wIndex === 0 &&
                         data.property.is_first_sentence_first_hz_pinyin_first_char_upper_case === 'true'
                         data.property.is_first_sentence_first_hz_pinyin_first_char_upper_case === 'true'
@@ -216,7 +216,7 @@
                 {{ itemActive.pinyin }}
                 {{ itemActive.pinyin }}
               </span>
               </span>
               <span class="words">
               <span class="words">
-                {{ itemActive.text }}
+                {{ itemActive.chs }}
               </span>
               </span>
             </div>
             </div>
           </div>
           </div>
@@ -1239,7 +1239,7 @@ export default {
       this.itemActive = item;
       this.itemActive = item;
       this.pinyinList = [];
       this.pinyinList = [];
       toolGetWordPinyinCorrectionList({
       toolGetWordPinyinCorrectionList({
-        word: item.text,
+        word: item.chs,
       })
       })
         .then((res) => {
         .then((res) => {
           if (res.status === 1) {
           if (res.status === 1) {