diff --git a/src/utils/request.js b/src/utils/request.js index b586ca6..16a6f3c 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -9,7 +9,7 @@ import { Tips } from '@/utils/index' const service = axios.create({ baseURL: baseApi, // url = base api url + request url withCredentials: true, // send cookies when cross-domain requests - timeout: 10000 // request timeout + timeout: 30000 // request timeout }) // request拦截器 request interceptor