Commit 0ec013ca by yzh

fix:接口添加延时

parent e9289e8c
...@@ -5,7 +5,7 @@ import { getToken, removeToken } from '@/utils/auth' ...@@ -5,7 +5,7 @@ import { getToken, removeToken } from '@/utils/auth'
// 创建axios实例 // 创建axios实例
const instance = axios.create({ const instance = axios.create({
baseURL: import.meta.env.VITE_APP_BASE_API || '', baseURL: import.meta.env.VITE_APP_BASE_API || '',
timeout: 10000, // 毫秒 timeout: 100000, // 毫秒
headers: { headers: {
'Content-Type': 'application/zip; charset=utf-8' 'Content-Type': 'application/zip; charset=utf-8'
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment