perf: 优化 pr 代码

This commit is contained in:
ChenZhaoYu
2023-02-15 13:26:02 +08:00
parent b2977d8c44
commit 79eeb51537
10 changed files with 132 additions and 76 deletions

View File

@@ -2,7 +2,7 @@ import axios, { type AxiosResponse } from 'axios'
const service = axios.create({
baseURL: import.meta.env.VITE_GLOB_API_URL,
timeout: 60 * 1000,
timeout: 30 * 1000,
})
service.interceptors.request.use(