update
This commit is contained in:
@@ -8,7 +8,7 @@ export const BASEURL = import.meta.env.MODE === 'development' ? '/baseApi' : imp
|
||||
// 创建 Axios 实例
|
||||
const request = axios.create({
|
||||
baseURL: BASEURL, // 替换为你的基础 URL
|
||||
timeout: 10000, // 请求超时设置
|
||||
timeout: 20000, // 请求超时设置
|
||||
});
|
||||
|
||||
// 请求拦截器
|
||||
|
||||
Reference in New Issue
Block a user