From f81e5811b9baaaea3645579a6cacad0f75f3d0db Mon Sep 17 00:00:00 2001
From: xiaoyi <908147524@qq.com>
Date: 星期四, 27 八月 2026 11:55:30 +0800
Subject: [PATCH] fix 修改页面
---
src/preferences.ts | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/preferences.ts b/src/preferences.ts
index fbaa7b4..9beffd0 100644
--- a/src/preferences.ts
+++ b/src/preferences.ts
@@ -4,6 +4,7 @@
} from './packages/preferences/src';
declare const __APP_LOGO__: string;
+declare const __APP_NAME__: string;
interface WebAntdPreferencesExtension {
defaultTableSize: number;
@@ -22,7 +23,7 @@
app: {
/** 鍚庣璺敱妯″紡 */
accessMode: 'backend',
- name: import.meta.env.VITE_APP_TITLE,
+ name: __APP_NAME__ || import.meta.env.VITE_APP_TITLE,
enableRefreshToken: true,
},
footer: {
@@ -31,11 +32,11 @@
fixed: false,
},
copyright: {
- companyName: import.meta.env.VITE_APP_TITLE,
+ companyName: __APP_NAME__ || import.meta.env.VITE_APP_TITLE,
companySiteLink: '#',
},
logo: {
- source: __APP_LOGO__ || undefined,
+ source: '/logos/xgdl.svg',
},
tabbar: {
/** 鍒锋柊娴忚鍣ㄥ悗鍙繚鐣欏綋鍓嶉〉闈紝涓嶆寔涔呭寲鎵�鏈夋爣绛鹃〉 */
--
Gitblit v1.9.3