natasha hace 2 años
padre
commit
26013ed38c

+ 11 - 0
src/components/Adult/inputModules/DialogueTem/components/SegbywordChs.vue

@@ -353,6 +353,17 @@ export default {
     },
     save() {
       let _this = this;
+      let wordlist = []
+      this.paraCon.wordsList.forEach(item=>{
+        let wordlistItem = []
+        item.forEach(items=>{
+            if(items.chs){
+                wordlistItem.push(items)
+            }
+        })
+        wordlist.push(wordlistItem)
+      })
+      this.paraCon.wordsList = wordlist
       let paraCon = JSON.parse(JSON.stringify(this.paraCon));
       _this.$set(_this.curQue.detail, _this.proofParaIndex, paraCon);
       _this.$message.success("保存成功");