src/api/index.js
@@ -1,7 +1,7 @@ import axios from 'axios'; import { ElMessage } from 'element-plus'; const openLog = false; const openLog = true; const debug = false; let ip1 = 'http://47.100.191.150:9029/'; @@ -21,7 +21,8 @@ const $http = axios.create({ baseURL: ip1, timeout: 30000 // timeout: 30000, timeout: 0 }); //添加拦截器