浏览代码

fix:vue 请求出现问题测试

ly 11 月之前
父节点
当前提交
9693d3046e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/utils/request.js

+ 1 - 1
src/utils/request.js

@@ -246,7 +246,7 @@ export function download(url, params, filename, config) {
       ],
       headers: { "Content-Type": "application/x-www-form-urlencoded" },
       responseType: "blob",
-      timeout: 1000000,
+      timeout: 4000000,
       ...config,
     })
     .then(async (data) => {