소스 검색

fix: 试卷类型取值问题

zhangjie 7 달 전
부모
커밋
247ce2aa45
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);