From cd8b52bdf89a4d1101f72e0ece9f4df22a3d3f7a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 15 十月 2026 16:03:32 +0800
Subject: [PATCH] feat(mdm): 物料列表隐藏辅单位与销售价列

---
 vite.config.ts |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/vite.config.ts b/vite.config.ts
index b9e690e..9382ae0 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -13,10 +13,9 @@
   const appApiUrl = company?.apiUrl ?? '';
   const appName = company?.name ?? '';
   const isDev = mode === 'development';
-  if (appName) {
-    // 瑕嗙洊娴忚鍣ㄦ爣绛鹃〉鏍囬锛歏ite 鐨� resolveEnv 浼樺厛璇� process.env锛屼粠鑰屾浛鎹� index.html 閲岀殑 %VITE_APP_TITLE%
-    process.env.VITE_APP_TITLE = appName;
-  }
+  // 杩欓噷涓嶈鍐嶆妸 appName 鍐欒繘 VITE_APP_TITLE銆�
+  // 棣栧睆鏍囬銆佸姞杞介〉鏂囨宸插浐瀹氫负涓�ф枃妗堬紝鍝佺墝缁熶竴鐢辫繍琛屾椂銆屽叕鍙镐俊鎭�嶄笅鍙戯紱
+  // 涓�鏃﹀湪杩欓噷瑕嗙洊锛屾煇涓鎴风殑鍚嶇О灏变細琚紪璇戣繘 index.html / 鍔犺浇椤碉紝鎹釜鐜閮ㄧ讲灏�"涓插搧鐗�"銆�
   console.log('[company]', companyKey, '-> name:', appName, 'logo:', appLogo, 'api:', appApiUrl || '(from env)');
 
   const defineVars: Record<string, string> = {
@@ -83,7 +82,7 @@
         proxy: {
           "/admin-api": {
             changeOrigin: true,
-            target: "http://36.213.90.123:9500",
+            target: "http://localhost:48080",
             ws: true,
           },
         },

--
Gitblit v1.9.3