zhangjie hai 1 ano
pai
achega
ffeabf31a7
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/modules/exam/components/ApplyContent.vue

+ 4 - 0
src/modules/exam/components/ApplyContent.vue

@@ -887,6 +887,10 @@ export default {
         ? JSON.parse(this.curTaskApply.paperAttachmentIds)
         : [];
 
+      if (!this.paperAttachments.length) {
+        this.addAtachment();
+      }
+
       const pAttachment = this.paperAttachments.some((item) => !!item.paperId);
       if (pAttachment) {
         this.curTab = "tiku";