|
@@ -572,7 +572,9 @@ export default {
|
|
|
const answerPdfName = `${this.fieldData.courseName}(${this.fieldData.courseCode})_${this.fieldData.paperName}_答案.pdf`;
|
|
|
const answerBlob = await buildPdf(
|
|
|
{
|
|
|
- elements: document.getElementById("answer-template-view").children,
|
|
|
+ elements: document
|
|
|
+ .getElementById("answer-template-view")
|
|
|
+ .querySelectorAll(".page-answer-flat"),
|
|
|
pageSize: "A4",
|
|
|
scale: this.pdfScale,
|
|
|
},
|