Răsfoiți Sursa

命题老师代办任务默认新建一套试卷

zhangjie 4 ani în urmă
părinte
comite
a9e7e2dadc
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      src/modules/exam-center/views/WaitTaskDetail.vue

+ 1 - 0
src/modules/exam-center/views/WaitTaskDetail.vue

@@ -239,6 +239,7 @@ export default {
       this.curPaperAttachments = this.paperAttachments.map(item => {
         return { ...item };
       });
+      if (!this.curPaperAttachments.length) this.addAtachment();
       this.paperConfirmAttachmentId = this.task.paperConfirmAttachmentId
         ? JSON.parse(this.task.paperConfirmAttachmentId)
         : { attachmentId: "", filename: "" };