zhangjie 2 tháng trước cách đây
mục cha
commit
029d10aeb7

+ 4 - 0
src/modules/exam/components/createExamAndPrintTask/InfoExamTask.vue

@@ -857,6 +857,10 @@ export default {
         this.examTask.includePaper =
           examPrintPlan.printContent.indexOf("PAPER") !== -1;
         this.examTask.twoPaperEnable = examPrintPlan.twoPaperEnable;
+        // 如果启用二卷,且当前没有二卷,则添加二卷
+        if (examPrintPlan.twoPaperEnable && !this.paperAttachments.length < 2) {
+          this.addAtachment();
+        }
         this.updateExamTaskDetail();
 
         this.updateTaskInfo({