|
|
@@ -6,7 +6,8 @@ const service = axios.create({
|
|
|
// baseURL: 'https://www.easy-mock.com/mock/592501a391470c0ac1fab128',
|
|
|
//baseURL: 'http://localhost:8080',
|
|
|
baseURL: "",
|
|
|
- timeout: 5000
|
|
|
+ //不能加timeout,不然很多需要时间的功能会跑一半挂掉(如模型训练)
|
|
|
+ //timeout: 5000
|
|
|
});
|
|
|
|
|
|
service.interceptors.request.use(
|