From 3c38a9fbad595a4c35d5928f77ccfc9cfa5e3f58 Mon Sep 17 00:00:00 2001
From: 董国庆 <364620639@qq.com>
Date: 星期一, 08 九月 2025 11:23:22 +0800
Subject: [PATCH] Merge branch 'main' of http://120.76.84.145:10101/gitblit/r/H5/leshan-laboratory

---
 laboratory/src/utils/baseurl.js |   26 ++++++++++++++------------
 1 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/laboratory/src/utils/baseurl.js b/laboratory/src/utils/baseurl.js
index c37438b..ad08fb6 100644
--- a/laboratory/src/utils/baseurl.js
+++ b/laboratory/src/utils/baseurl.js
@@ -1,15 +1,17 @@
 const apiConfig = {
-    // 开发环境
-    development: {
-        baseURL: "/",
-        imgUrl: "/open/file/upload",
-        showImgUrl: 'http://221.182.45.100:11222/',
-    },
-    // 生产环境
-    production: {
-        baseURL: "",
-        imgUrl: "",
-    },
+  // 开发环境
+  development: {
+    baseURL: "/laboratory",
+    imgUrl: "http://127.0.0.1:11222/laboratory/open/file/upload",
+    // showImgUrl: "http://221.182.45.100:11222/",
+    showImgUrl: "http://127.0.0.1:11222/",
+  },
+  // 生产环境
+  production: {
+    baseURL: "/laboratory",
+    imgUrl: "http://127.0.0.1:11222/laboratory/open/file/upload",
+    showImgUrl: "http://127.0.0.1:11222/",
+  },
 };
 
-export default apiConfig[process.env.VUE_APP_ENV];
\ No newline at end of file
+export default apiConfig[process.env.VUE_APP_ENV];

--
Gitblit v1.7.1