From 8f9b9411ca279670bd85fcfa7763987295ed9abf Mon Sep 17 00:00:00 2001
From: zhanghonglin <zhanghonglin@hnkhzn.com>
Date: 星期五, 10 四月 2026 10:55:38 +0800
Subject: [PATCH] 空桶入出扩展开发
---
项目代码/WCS/WIDESEAWCS_Client/src/api/http.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/api/http.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/api/http.js"
index 3e769b2..ed095da 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/api/http.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Client/src/api/http.js"
@@ -11,15 +11,15 @@
let loadingInstance;
let loadingStatus = false;
-if (process.env.NODE_ENV == 'development') {
- axios.defaults.baseURL = 'http://192.168.10.203:9293/';
+if (process.env.NODE_ENV == 'development') {//http://192.168.10.203:9293/
+ axios.defaults.baseURL = 'http://127.0.0.1:9293/';
}
else if (process.env.NODE_ENV == 'debug') {
- axios.defaults.baseURL = 'http://192.168.10.203:9293/';
+ axios.defaults.baseURL = 'http://127.0.0.1:9293/';
}
else if (process.env.NODE_ENV == 'production') {
- axios.defaults.baseURL = 'http://192.168.10.203:9293/';
+ axios.defaults.baseURL = 'http://127.0.0.1:9293/';
}
if (!axios.defaults.baseURL.endsWith('/')) {
axios.defaults.baseURL+="/";
--
Gitblit v1.9.3