Эх сурвалжийг харах

fix: 试卷类型取值问题

zhangjie 7 сар өмнө
parent
commit
247ce2aa45

+ 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);