src/api/index.js @@ -21,7 +21,8 @@ const $http = axios.create({ baseURL: ip1, timeout: 30000 // timeout: 30000, timeout: 0 }); //添加拦截器