Browse Source

fix:vue 请求出现问题测试

ly 11 months ago
parent
commit
9693d3046e
1 changed files with 1 additions and 1 deletions
  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" },
       headers: { "Content-Type": "application/x-www-form-urlencoded" },
       responseType: "blob",
       responseType: "blob",
-      timeout: 1000000,
+      timeout: 4000000,
       ...config,
       ...config,
     })
     })
     .then(async (data) => {
     .then(async (data) => {