更新timeout时间50秒

This commit is contained in:
VIJAY\vijay 2022-08-09 15:56:15 +08:00
parent c6bee1cb7e
commit 6059735df0
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import { getToken } from '@/utils/auth'
// create an axios instance
const service = axios.create({
baseURL: process.env.BASE_API, // api的base_url
timeout: 5000 // request timeout
timeout: 50000 // request timeout
})
// request interceptor