zhangjie 2 年之前
父節點
當前提交
38bd766d6e
共有 1 個文件被更改,包括 1 次插入2 次删除
  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;
 
       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;