From abbc0ac93a533cbb43c329c813611154454d9836 Mon Sep 17 00:00:00 2001 From: 肖洋 <cathay_xy@163.com> Date: 星期三, 08 一月 2025 13:12:18 +0800 Subject: [PATCH] 修复潜在运行时错误,新增删除数据功能 --- Code Management/WMS/WIDESEA_WMSClient/src/api/http.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Code Management/WMS/WIDESEA_WMSClient/src/api/http.js b/Code Management/WMS/WIDESEA_WMSClient/src/api/http.js index 8a14d24..78d16dc 100644 --- a/Code Management/WMS/WIDESEA_WMSClient/src/api/http.js +++ b/Code Management/WMS/WIDESEA_WMSClient/src/api/http.js @@ -11,15 +11,15 @@ let loadingInstance let loadingStatus = false if (process.env.NODE_ENV == 'development') { - axios.defaults.baseURL = 'http://localhost:5000/'; - // axios.defaults.baseURL = 'http://192.168.20.251:5000/'; + axios.defaults.baseURL = 'http://localhost:5000/'; + // axios.defaults.baseURL = 'http://192.168.5.251:5000/'; } else if (process.env.NODE_ENV == 'debug') { axios.defaults.baseURL = 'http://127.0.0.1:9991/'; } else if (process.env.NODE_ENV == 'production') { // axios.defaults.baseURL = 'http://127.0.0.1:5000/'; - axios.defaults.baseURL = 'http://192.168.20.251:5000/'; + axios.defaults.baseURL = 'http://192.168.5.251:5000/'; } //axios.defaults.baseURL = 'http://api.volcore.xyz/'; -- Gitblit v1.9.3