diff --git a/src/utils/request.ts b/src/utils/request.ts index 214b86b..0c9f486 100644 --- a/src/utils/request.ts +++ b/src/utils/request.ts @@ -5,7 +5,7 @@ import useUserStore from '@/store/modules/user' //创建axios实例 const request = axios.create({ baseURL: import.meta.env.VITE_APP_BASE_API, - timeout: 5000, + timeout: 10000, }) //请求拦截器 request.interceptors.request.use((config) => {