We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1e32c0 commit c1af9c6Copy full SHA for c1af9c6
src/utils/request.ts
@@ -8,7 +8,7 @@ import { useUserStoreHook } from "@/store/modules/user";
8
// 创建 axios 实例
9
const service = axios.create({
10
baseURL: import.meta.env.VITE_APP_BASE_API,
11
- timeout: 5000,
+ timeout: 10000,
12
headers: { "Content-Type": "application/json;charset=utf-8" },
13
paramsSerializer: (params) => qs.stringify(params),
14
});
0 commit comments