Преглед на файлове

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];
     const curStudentFirstPage = val.papers[0]?.pages[0];
     if (!curStudentFirstPage) return;
     if (!curStudentFirstPage) return;
 
 
-    paperTypeResult.value = curStudentFirstPage.paperType.result;
+    paperTypeResult.value = val.paperType;
     paperTypeType.value = curStudentFirstPage.paperType.type;
     paperTypeType.value = curStudentFirstPage.paperType.type;
     const recogData = curStudentFirstPage.recogData;
     const recogData = curStudentFirstPage.recogData;
     const regdata = parseRecogData(recogData);
     const regdata = parseRecogData(recogData);