mirror of
https://github.com/jumpserver/lina.git
synced 2025-10-22 08:08:39 +00:00
修复Logo显示的问题
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# just a flag
|
||||
# 全局环境变量 请勿随意改动
|
||||
ENV = 'development'
|
||||
|
||||
|
||||
|
||||
# base api
|
||||
VUE_APP_BASE_API = ''
|
||||
VUE_APP_PUBLIC_PATH = '/ui/'
|
||||
|
@@ -1,4 +1,4 @@
|
||||
# just a flag
|
||||
# 全局环境变量 请勿随意改动
|
||||
ENV = 'production'
|
||||
|
||||
# base api
|
||||
|
@@ -38,7 +38,11 @@ export default {
|
||||
]),
|
||||
// eslint-disable-next-line vue/return-in-computed-property
|
||||
logoSrc() {
|
||||
return this.publicSettings.LOGO_URLS.logo_index
|
||||
if (this.publicSettings.LOGO_URLS.logo_index !== '/static/img/logo_text.png') {
|
||||
return this.publicSettings.LOGO_URLS.logo_index
|
||||
} else {
|
||||
return this.logoText
|
||||
}
|
||||
}
|
||||
},
|
||||
created() {
|
||||
|
Reference in New Issue
Block a user