zhangjie 2 жил өмнө
parent
commit
38bd766d6e

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

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