diff --git a/frontend/src/components/SvgIcon/index.vue b/frontend/src/components/SvgIcon/index.vue index 9a3318e5e6..0446ae9079 100644 --- a/frontend/src/components/SvgIcon/index.vue +++ b/frontend/src/components/SvgIcon/index.vue @@ -19,6 +19,10 @@ export default { className: { type: String, default: '' + }, + customClass: { + type: String, + default: '' } }, computed: { @@ -31,9 +35,11 @@ export default { svgClass() { if (this.className) { return 'svg-icon ' + this.className - } else { - return 'svg-icon' } + if (this.customClass) { + return this.customClass + } + return 'svg-icon' }, styleExternalIcon() { return { diff --git a/frontend/src/icons/svg/DataEase.svg b/frontend/src/icons/svg/DataEase.svg new file mode 100644 index 0000000000..c3fdc13e07 --- /dev/null +++ b/frontend/src/icons/svg/DataEase.svg @@ -0,0 +1,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/frontend/src/layout/components/Topbar.vue b/frontend/src/layout/components/Topbar.vue index 03c016a265..efc96b11ee 100644 --- a/frontend/src/layout/components/Topbar.vue +++ b/frontend/src/layout/components/Topbar.vue @@ -1,7 +1,8 @@ - + + - + - {{ $t('login.welcome') + (uiInfo && uiInfo['ui.title'] && uiInfo['ui.title'].paramValue || 'DATAEASE') }} + {{ $t('login.welcome') + (uiInfo && uiInfo['ui.title'] && uiInfo['ui.title'].paramValue || ' DataEase') }}