From e9fbecd61a9ab8c5d906269150b6cdc8ca86dfdb Mon Sep 17 00:00:00 2001
From: yangpeixing <yangpeixing@hnkhzn.com>
Date: 星期二, 31 三月 2026 09:09:45 +0800
Subject: [PATCH] 1
---
WMS/WIDESEA_WMSClient/src/api/http.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/WMS/WIDESEA_WMSClient/src/api/http.js b/WMS/WIDESEA_WMSClient/src/api/http.js
index 05cbb7e..564977c 100644
--- a/WMS/WIDESEA_WMSClient/src/api/http.js
+++ b/WMS/WIDESEA_WMSClient/src/api/http.js
@@ -14,10 +14,13 @@
if (process.env.NODE_ENV == 'development') {
// axios.defaults.baseURL = 'http://10.168.1.226:9290';
axios.defaults.baseURL = 'http://127.0.0.1:9290';
+
}
+
else if (process.env.NODE_ENV == 'debug') {
// axios.defaults.baseURL = 'http://10.168.1.226:9290';
axios.defaults.baseURL = 'http://127.0.0.1:9290';
+
}
else if (process.env.NODE_ENV == 'production') {
--
Gitblit v1.9.3