修复Logo显示的问题

This commit is contained in:
OrangeM21
2020-06-09 16:01:39 +08:00
parent c59383171b
commit abd679b98b
3 changed files with 9 additions and 3 deletions

View File

@@ -1,6 +1,8 @@
# just a flag
# 全局环境变量 请勿随意改动
ENV = 'development'
# base api
VUE_APP_BASE_API = ''
VUE_APP_PUBLIC_PATH = '/ui/'

View File

@@ -1,4 +1,4 @@
# just a flag
# 全局环境变量 请勿随意改动
ENV = 'production'
# base api

View File

@@ -38,7 +38,11 @@ export default {
]),
// eslint-disable-next-line vue/return-in-computed-property
logoSrc() {
if (this.publicSettings.LOGO_URLS.logo_index !== '/static/img/logo_text.png') {
return this.publicSettings.LOGO_URLS.logo_index
} else {
return this.logoText
}
}
},
created() {