no message
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -20,7 +20,7 @@ const service = axios.create({ | ... | @@ -20,7 +20,7 @@ const service = axios.create({ |
| 20 | // axios中请求配置有baseURL选项,表示请求URL公共部分 | 20 | // axios中请求配置有baseURL选项,表示请求URL公共部分 |
| 21 | baseURL: import.meta.env.VITE_APP_BASE_API, | 21 | baseURL: import.meta.env.VITE_APP_BASE_API, |
| 22 | // 超时 | 22 | // 超时 |
| 23 | timeout: 10000 | 23 | timeout: 30000 |
| 24 | }) | 24 | }) |
| 25 | 25 | ||
| 26 | // request拦截器 | 26 | // request拦截器 | ... | ... |
-
Please register or sign in to post a comment