From 1c1af9b0fc10778ae5ac13cc68fd4030affbcfe1 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 09 九月 2026 10:59:53 +0800
Subject: [PATCH] feat(wm): 新增SN码管理和设备入库功能

---
 src/main.ts |   19 ++++++-------------
 1 files changed, 6 insertions(+), 13 deletions(-)

diff --git a/src/main.ts b/src/main.ts
index b692f75..2eb3d72 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -3,9 +3,7 @@
 
 import { overridesPreferences, preferencesExtension } from './preferences';
 
-declare const __APP_LOGO__: string;
 declare const __APP_FAVICON__: string;
-declare const __APP_NAME__: string;
 
 /**
  * 搴旂敤鍒濆鍖栧畬鎴愪箣鍚庡啀杩涜椤甸潰鍔犺浇娓叉煋
@@ -24,17 +22,12 @@
     overrides: overridesPreferences,
   });
 
-  // 寮哄埗瑕嗙洊鍏徃 logo 鍜� favicon锛岀粫杩� localStorage 缂撳瓨
-  if (__APP_LOGO__) {
-    preferencesManager.updatePreferences({ logo: { source: __APP_LOGO__ } });
-  }
-  // 寮哄埗瑕嗙洊鍏徃鍚嶇О锛岀粫杩� localStorage 缂撳瓨
-  if (__APP_NAME__) {
-    preferencesManager.updatePreferences({
-      app: { name: __APP_NAME__ },
-      copyright: { companyName: __APP_NAME__ },
-    });
-  }
+  // 寮哄埗瑕嗙洊鍏徃 logo 鍜屽悕绉帮紝閬垮厤鏃х紦瀛樻仮澶嶅巻鍙插搧鐗岄厤缃�
+  preferencesManager.updatePreferences({
+    app: { name: '鏂伴珮鐢靛姏鏅洪�犲钩鍙�' },
+    copyright: { companyName: '鏂伴珮鐢靛姏鏅洪�犲钩鍙�' },
+    logo: { source: '/logos/xgdl.svg' },
+  });
   if (__APP_FAVICON__) {
     const link = document.querySelector('link[rel="icon"]');
     if (link) {

--
Gitblit v1.9.3