Commit 2f3d7fed authored by 沈翠玲's avatar 沈翠玲

超时时间调整

parent 94326ca6
......@@ -10,7 +10,7 @@ import { saveAs } from 'file-saver';
const envs = getAppEnvConfig();
const defaultConfig = {
baseURL: envs.VITE_GLOB_API_URL_PREFIX,
timeout: 180000,
timeout: 600000,
// 数组格式参数序列化(https://github.com/axios/axios/issues/5142)
paramsSerializer: {
serialize: stringify,
......
......@@ -13,7 +13,7 @@
<div>
<el-upload
class="avatar-uploader"
:headers="{ timeout: 360000 }"
:headers="{ timeout: 600000 }"
ref="uploadRef"
:action="upload.url"
:disabled="upload.isUploading"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment