src/api/index.js
@@ -10,12 +10,13 @@ } if (debug) { ip1 = 'http://192.168.0.138:8084/'; // ip1 = 'http://192.168.0.110:8084/'; ip1 = 'http://locahost:8084/'; } const $http = axios.create({ baseURL: ip1, timeout: 20000 timeout: 30000 }); //添加拦截器