Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 全局配置title/footer/logo/favicon/产品名称 #3073 #3169

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@
brandName: '蓝鲸智云',
brandNameEn: 'Tencent BlueKing',
favicon: '/static/images/favicon.icon',
productName: '作业平台', // 产品名称,展示在logo区域 1.0.5版本新增
productNameEn: 'JOB',
version: process.env.JOB_VERSION,
}).then((data) => {
window.PROJECT_CONFIG.HELPER_CONTACT_LINK = data.helperLink;
Expand Down
10 changes: 5 additions & 5 deletions src/frontend/src/store/modules/platform-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ export default {
namespaced: true,
state: {
bkAppCode: '', // appcode
name: '作业平台', // 站点的名称,通常显示在页面左上角,也会出现在网页title中
nameEn: 'JOB', // 站点的名称-英文
name: '', // 站点的名称,通常显示在页面左上角,也会出现在网页title中
nameEn: '', // 站点的名称-英文
appLogo: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/wIAAgMBAAirr3kAAAAASUVORK5CYII=', // 站点logo
favicon: '/static/images/favicon.icon', // 站点favicon
productName: '作业平台', // 产品名称,展示在logo区域 1.0.5版本新增
productNameEn: 'JOB',
favicon: '', // 站点favicon
productName: '', // 产品名称,展示在logo区域 1.0.5版本新增
productNameEn: '',
helperText: '',
helperTextEn: '',
helperLink: '',
Expand Down
Loading