This commit is contained in:
zhangsir
2024-04-03 15:03:24 +08:00
parent f3bd5f376e
commit 7e19cbd787
2 changed files with 42 additions and 6 deletions

View File

@@ -61,3 +61,6 @@ http.interceptors.response.use(
);
export default http;
export function timeoutUpload(uploadTime) {
http.defaults.timeout = uploadTime;
}