diff --git a/.env.development b/.env.development index 6d9460b9..3737274c 100644 --- a/.env.development +++ b/.env.development @@ -1,6 +1,6 @@ # 页面标题 VITE_APP_TITLE = RuoYi-Vue-Plus多租户管理系统 -VITE_LOGO_TITLE = RuoYi-Vue-Plus +VITE_APP_LOGO_TITLE = RuoYi-Vue-Plus # 开发环境配置 VITE_APP_ENV = 'development' diff --git a/.env.production b/.env.production index 445008c5..883c8f19 100644 --- a/.env.production +++ b/.env.production @@ -1,6 +1,6 @@ # 页面标题 VITE_APP_TITLE = RuoYi-Vue-Plus多租户管理系统 -VITE_LOGO_TITLE = RuoYi-Vue-Plus +VITE_APP_LOGO_TITLE = RuoYi-Vue-Plus # 生产环境配置 VITE_APP_ENV = 'production' diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 139d23c8..997b7766 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -34,7 +34,7 @@ defineProps({ } }); -const title = import.meta.env.VITE_LOGO_TITLE; +const title = import.meta.env.VITE_APP_LOGO_TITLE; const settingsStore = useSettingsStore(); const sideTheme = computed(() => settingsStore.sideTheme);