This commit is contained in:
2024-11-25 16:34:29 +08:00
parent 69b83be6c7
commit a27fe8f098
2 changed files with 12 additions and 13 deletions

View File

@@ -15,7 +15,7 @@ const service = axios.create({
// axios中请求配置有baseURL选项表示请求URL公共部分
baseURL: process.env.VUE_APP_BASE_API,
// 超时
timeout: 30000,
timeout: 1000 * 60 * 5,
})
// request拦截器