Selaa lähdekoodia

修改提示语

natasha 1 vuosi sitten
vanhempi
commit
85738bdc89

+ 8 - 8
src/views/Textanalysis/CheckWord.vue

@@ -122,10 +122,10 @@ export default {
             let arrs = item.trim().split('  ')
             let saveItem = []
             arrs.forEach((items,indexs)=>{
-                if(items.lastIndexOf('_')===-1||this.posList.indexOf(items.substring(items.lastIndexOf('_')+1).trim())==-1){
-                    flag = false
-                    return
-                }
+                // if(items.lastIndexOf('_')===-1||this.posList.indexOf(items.substring(items.lastIndexOf('_')+1).trim())==-1){
+                //     flag = false
+                //     return
+                // }
                 let obj = {
                     word: items.lastIndexOf('_')>-1?items.substring(0,items.lastIndexOf('_')).trim():items,
                     pos: this.showPos?items.lastIndexOf('_')>-1?items.substring(items.lastIndexOf('_')+1).trim():'':this.ArticelData[indexP]&&this.ArticelData[indexP][indexS]&&this.ArticelData[indexP][indexS][indexs]&&this.ArticelData[indexP][indexS][indexs].pos?this.ArticelData[indexP][indexS][indexs].pos:''
@@ -136,10 +136,10 @@ export default {
             indexS++
         }
       })
-      if(!flag){
-        this.$message.warning('词性有错误请检查')
-        return
-      }
+    //   if(!flag){
+    //     this.$message.warning('词性有错误请检查')
+    //     return
+    //   }
       this.loading = true;
       publicMethods('/TeachingServer/TextAnalyser/SetFCProofreadForAnalyseRecord',{
             analyse_record_id: this.id,

+ 1 - 1
src/views/corpus/Result.vue

@@ -280,7 +280,7 @@ export default {
     //这里存放数据
     return {
       page: 1,
-      pageSize: 8,
+      pageSize: 30,
       shiyiShow: true,
       pinyinShow: true,
       JFIndex: 0,

+ 1 - 1
src/views/teacher-dev/TextAnalysis.vue

@@ -256,7 +256,7 @@ export default {
         .then((data) => {
           this.data = data;
           if (bol) {
-            this.$message.success('获取列表成功');
+            this.$message.success('已存储至下方列表');
           }
         })
         .finally(() => {