From 64e47529e29ab013b32d3c09e4044b5b192c3c7a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 26 十月 2026 17:11:33 +0800
Subject: [PATCH] feat: 完善南通苏珩线缆工业智能系统
---
src/bootstrap.ts | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/src/bootstrap.ts b/src/bootstrap.ts
index 1cb5cca..ba3576d 100644
--- a/src/bootstrap.ts
+++ b/src/bootstrap.ts
@@ -22,6 +22,9 @@
import { getCompanyConfig } from '#/api/system/company-config';
import { applyCompanyConfig } from '#/utils/company-config';
+declare const __APP_LOGO__: string;
+declare const __APP_NAME__: string;
+
async function bootstrap(namespace: string) {
// 鍒濆鍖栫粍浠堕�傞厤鍣�
await initComponentAdapter();
@@ -64,6 +67,11 @@
// 鍚庣涓嶅彲鐢ㄦ垨鏈厤缃紝淇濇寔缂栬瘧鏈熼粯璁�
}
+ // 鏈湴娴嬭瘯鎸夊墠绔儴缃插搧鐗屽睍绀猴紝閬垮厤娴嬭瘯搴撲腑鐨勬棫鍏徃閰嶇疆瑕嗙洊褰撳墠瀹㈡埛鍝佺墝銆�
+ if (__APP_NAME__) {
+ applyCompanyConfig({ companyName: __APP_NAME__, logoUrl: __APP_LOGO__ });
+ }
+
// 瀹夎鏉冮檺鎸囦护
registerAccessDirective(app);
--
Gitblit v1.9.3