Parcourir la source

文本分析提示

natasha il y a 1 an
Parent
commit
ce4bab036c
2 fichiers modifiés avec 4 ajouts et 10 suppressions
  1. 3 3
      src/views/Textanalysis/CheckPinyin.vue
  2. 1 7
      src/views/wordcard/print.vue

+ 3 - 3
src/views/Textanalysis/CheckPinyin.vue

@@ -73,8 +73,7 @@
         </div>
         <el-input v-model="checkPinyinInput" type="text" class="checkPinyinInput" />
         <p class="tips">
-          一到四声分别用数字1-4表示。如需分词,拼音间用空格隔开,例如“kàn shū”,输入“kan4
-          shu1”;若不分词,拼音间用_隔开,例如“nǎr”,输入“na3_r”。
+          一到四声分别用数字1-4表示。拼音间用空格隔开,儿化音用_代替空格,如“骨朵儿”输入“gu1 duo3_er”。
         </p>
         <div class="btn-box">
           <el-button type="info" size="small" @click="cancleDialog">取消</el-button>
@@ -258,7 +257,8 @@ export default {
                 .replace('_ē', '')
                 .replace('_é', '')
                 .replace('_ě', '')
-                .replace('_è', '');
+                .replace('_è', '')
+                .replace('_', '');
               this.itemActive.pinyin_lt = this.checkPinyinInput.replace(/\s+/g, '');
             } else {
               this.ArticelData[this.itemActive.saveIndex].pinyin = this.checkPinyinInput

+ 1 - 7
src/views/wordcard/print.vue

@@ -3,13 +3,7 @@
     <div class="none_word_main_table" v-for="(data, indexT) in dataConfig.result" :key="indexT">
       <div class="writeTop" :class="[data.fileList ? 'writeTop-nopadding' : '']">
         <template v-if="data.fileList">
-          <UploadDrag
-            :fileList="data.fileList"
-            @changeFillId="changeFillId"
-            v-if="data.fileList.length === 0"
-            :disabled="true"
-          ></UploadDrag>
-          <div class="item-image" v-else>
+          <div class="item-image" v-if="data.fileList.length > 0">
             <el-image
               style="width: 593px; height: 224px"
               :src="data.fileList[0].fileUrl"