Sfoglia il codice sorgente

fix: 试卷类型取值问题

zhangjie 7 mesi fa
parent
commit
247ce2aa45
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/render/views/DataCheck/QuestionPanel.vue

+ 1 - 1
src/render/views/DataCheck/QuestionPanel.vue

@@ -263,7 +263,7 @@ watch(
     const curStudentFirstPage = val.papers[0]?.pages[0];
     if (!curStudentFirstPage) return;
 
-    paperTypeResult.value = curStudentFirstPage.paperType.result;
+    paperTypeResult.value = val.paperType;
     paperTypeType.value = curStudentFirstPage.paperType.type;
     const recogData = curStudentFirstPage.recogData;
     const regdata = parseRecogData(recogData);