src/api/index.js
@@ -2,7 +2,7 @@ import { ElMessage } from 'element-plus'; const openLog = true; const debug = true; const debug = false; let ip1 = 'http://47.100.191.150:9029/'; let ws = `47.100.191.150:9031`; @@ -13,10 +13,10 @@ } if (debug) { ip1 = 'http://192.168.0.103:8084/'; // ip1 = 'http://localhost:8084/'; ws = `192.168.0.103:9031`; // ws = `localhost:9031`; // ip1 = 'http://192.168.0.103:8084/'; ip1 = 'http://localhost:8084/'; // ws = `192.168.0.103:9031`; ws = `localhost:9031`; } const $http = axios.create({