Prechádzať zdrojové kódy

添加可以评分工具

11wqe1 1 týždeň pred
rodič
commit
81037f708e
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/components/pages/test/check/index.vue

+ 2 - 2
src/components/pages/test/check/index.vue

@@ -2490,7 +2490,7 @@ export default {
           // console.log('kpl',this.tableWorksArray[kin]);
 
            for (let index = 0; index < kpl.length; index++) {
-              if (kpl[index].type == 3 && this.cueWord.fieldList.includes(kpl[index].json.title)) {
+              if ((kpl[index].type == 3 || kpl[index].type == 13 || kpl[index].type ==8) && this.cueWord.fieldList.includes(kpl[index].json.title)) {
                 if (kpl[index].json.answer2) {
                   userWork.push(kpl[index].json.title +':'+ kpl[index].json.answer2)
                 }else{
@@ -2703,7 +2703,7 @@ ${JSON.stringify(forAllList)}
           // console.log('kpl',this.TabArr[kin]);
 
           for (let index = 0; index < kpl.length; index++) {
-              if (kpl[index].type == 3 && this.cueWord.fieldList.includes(kpl[index].json.title)) {
+              if ((kpl[index].type == 3 || kpl[index].type == 13 || kpl[index].type ==8) && this.cueWord.fieldList.includes(kpl[index].json.title)) {
                 if (kpl[index].json.answer2) {
                   userWork.push(kpl[index].json.title +':'+ kpl[index].json.answer2)
                 }else{