zhangjie 2 years ago
parent
commit
38bd766d6e
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/modules/exam/views/DataTaskManage.vue

+ 1 - 2
src/modules/exam/views/DataTaskManage.vue

@@ -286,10 +286,9 @@ export default {
       if (this.loading) return;
       if (this.loading) return;
 
 
       this.loading = true;
       this.loading = true;
-      const type = row.hasResultFile ? "RESULT" : "IMPORT_FILE";
       const res = await attachmentDownload({
       const res = await attachmentDownload({
         id: row.id,
         id: row.id,
-        type
+        type: row.downloadType
       }).catch(() => {});
       }).catch(() => {});
       this.loading = false;
       this.loading = false;