Commit bde4e01ce5a55275dac107beb363a9d9e06a691b

Authored by 2c
1 parent 8d8c50ea

修改文件下载时间

Showing 1 changed file with 1 additions and 1 deletions
src/utils/request.js
... ... @@ -117,7 +117,7 @@ service.interceptors.response.use(res => {
117 117 )
118 118  
119 119 // 通用下载方法
120   -export function download(url, params, filename, config = { timeout: 1000 * 30 }) {
  120 +export function download(url, params, filename, config = { timeout: 1000 * 60 * 5 }) {
121 121  
122 122 downloadLoadingInstance = ElLoading.service({ text: "正在下载数据,请稍候", background: "rgba(0, 0, 0, 0.7)", })
123 123 return service.post(url, params, {
... ...