Commit 23ab140e by 张杰

请求时间延长至3分钟

1 parent b8a44aba
...@@ -5,7 +5,7 @@ import store from '@/store'; ...@@ -5,7 +5,7 @@ import store from '@/store';
import { checkStatus, showLoading } from './checkStatus'; import { checkStatus, showLoading } from './checkStatus';
const instance = axios.create({ // 创建axios实例,在这里可以设置请求的默认配置 const instance = axios.create({ // 创建axios实例,在这里可以设置请求的默认配置
timeout: 60000, // 设置超时时间60s timeout: 180000, // 设置超时时间3分钟
retry: 3, retry: 3,
retryDelay: 1000 retryDelay: 1000
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!