From d7247a3e960efdefbf9c363e19ffc9d0fa965fa5 Mon Sep 17 00:00:00 2001 From: hyunfa <1598047833@qq.com> Date: Fri, 9 Aug 2024 14:55:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8C=BA=E5=88=86=E5=AF=BC=E8=88=AA?= =?UTF-8?q?=E5=92=8Ctitle=E5=AD=97=E6=AE=B5=20#=20Reviewed,=20transaction?= =?UTF-8?q?=20id:=2014802?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/common/navigation.vue | 2 +- frontend/src/store/modules/platform-config.ts | 7 ++++++- frontend/src/types/config/config.ts | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/common/navigation.vue b/frontend/src/components/common/navigation.vue index b26e3ef21..cd1356bbb 100644 --- a/frontend/src/components/common/navigation.vue +++ b/frontend/src/components/common/navigation.vue @@ -14,7 +14,7 @@
diff --git a/frontend/src/store/modules/platform-config.ts b/frontend/src/store/modules/platform-config.ts index 56829d5ed..65650da24 100644 --- a/frontend/src/store/modules/platform-config.ts +++ b/frontend/src/store/modules/platform-config.ts @@ -11,6 +11,8 @@ export default class PlatformConfigStore extends VuexModule { name: '节点管理', // 站点的名称,通常显示在页面左上角,也会出现在网页title中 nameEn: 'BK NodeMan', // 站点的名称-英文 appLogo: '', // 站点logo + productName: '', // 品牌名称 + productNameEn: '', // 品牌英文名称 favicon: '/static/images/favicon.png', // 站点favicon helperText: '', helperTextEn: '', @@ -35,6 +37,7 @@ export default class PlatformConfigStore extends VuexModule { helperText: '...', brandImg: '...', brandName: '...', + productName: '...', footerInfoHTML: '...', }, }; @@ -56,10 +59,12 @@ export default class PlatformConfigStore extends VuexModule { const defaults = { name: '节点管理', - nameEn: 'BK NodeMan', + nameEn: 'NodeMan', appLogo: logoSrc, brandName: '蓝鲸智云', brandNameEn: 'Tencent BlueKing', + productName: '蓝鲸节点管理', + productNameEn: 'BK NodeMan', favicon: faviconSrc, helperLink: window.PROJECT_CONFIG.BKAPP_NAV_HELPER_URL, helperText: window.i18n.t('联系BK助手'), diff --git a/frontend/src/types/config/config.ts b/frontend/src/types/config/config.ts index 53807dce2..204127bd5 100644 --- a/frontend/src/types/config/config.ts +++ b/frontend/src/types/config/config.ts @@ -102,6 +102,8 @@ export interface IPlatformConfig { nameEn: string, // 站点的名称-英文 appLogo: string, // 站点logo favicon: string, // 站点favicon + productName: string, // 产品名称,展示在logo区域 1.0.5版本新增 + productNameEn: string, // 产品名称-英文 1.0.5版本新增 helperText: string, helperTextEn: string, helperLink: string, @@ -124,6 +126,7 @@ export interface IPlatformConfig { name: string, helperText: string, brandImg: string, + productName: string, brandName: string, footerInfoHTML: string, },