From eb1bbfb7e6f3a1895b606d1a9a261928ac841f33 Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期三, 18 六月 2025 17:06:43 +0800
Subject: [PATCH] feat: 添加设备台账页面

---
 vite.config.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/vite.config.js b/vite.config.js
index a5dcb88..2c84c9f 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -2,12 +2,14 @@
 import path from 'path'
 import createVitePlugins from './vite/plugins'
 
-const baseUrl = 'http://192.168.1.36:8080' // 鍚庣鎺ュ彛
-
 // https://vitejs.dev/config/
 export default defineConfig(({ mode, command }) => {
   const env = loadEnv(mode, process.cwd())
   const { VITE_APP_ENV } = env
+  const baseUrl = VITE_APP_ENV == 'development' 
+    ? 'http://192.168.10.2:7003' // 寮�鍙戠幆澧冨悗绔帴鍙�
+    : 'http://114.132.189.42:7004' // 鐢熶骇鐜鍚庣鎺ュ彛
+
   return {
     // 閮ㄧ讲鐢熶骇鐜鍜屽紑鍙戠幆澧冧笅鐨刄RL銆�
     // 榛樿鎯呭喌涓嬶紝vite 浼氬亣璁句綘鐨勫簲鐢ㄦ槸琚儴缃插湪涓�涓煙鍚嶇殑鏍硅矾寰勪笂

--
Gitblit v1.9.3