diff --git a/.env.development b/.env.development index aa21513..49879e8 100644 --- a/.env.development +++ b/.env.development @@ -1,9 +1,12 @@ # 页面标题 -VUE_APP_TITLE = 甜瓜后台管理系统 +VUE_APP_TITLE = 西瓜后台管理系统 # 开发环境配置 ENV = 'development' +# process.env.VUE_APP_SYSTEM_HOME +VUE_APP_SYSTEM_HOME = '西瓜' + # 若依管理系统/开发环境 VUE_APP_BASE_API = '/dev-api' diff --git a/.env.production b/.env.production index d20bb2f..3a7ab43 100644 --- a/.env.production +++ b/.env.production @@ -4,6 +4,8 @@ VUE_APP_TITLE = 甜瓜后台管理系统 # 生产环境配置 ENV = 'production' +VUE_APP_SYSTEM_HOME = '甜瓜' + # 若依管理系统/生产环境 VUE_APP_BASE_API = '/prod-api' diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 5b08b78..c5981d9 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -35,7 +35,7 @@ export default { }, data() { return { - title: '甜瓜后台管理', + title: process.env.VUE_APP_SYSTEM_HOME + '后台管理', logo: logoImg } } diff --git a/src/views/cai/account/account-change-info.vue b/src/views/cai/account/account-change-info.vue index 7f809c5..df23f53 100644 --- a/src/views/cai/account/account-change-info.vue +++ b/src/views/cai/account/account-change-info.vue @@ -34,7 +34,7 @@ - +