Ver código fonte

fix: 修复指定题目id生成pdf接口的问题

过卫栋 1 semana atrás
pai
commit
03805ded6f
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      app/Services/ExamPdfExportService.php

+ 1 - 0
app/Services/ExamPdfExportService.php

@@ -2133,6 +2133,7 @@ class ExamPdfExportService
                 'student' => $student,
                 'teacher' => $teacher,
                 'grading' => $grading,
+                'includeAnswer' => false, // exam-paper 视图需要这个变量
             ])->render();
 
             if (empty(trim($html))) {