update 规范环境变量命名

This commit is contained in:
lau 2025-09-28 11:24:15 +08:00
parent cb534f8d55
commit 7294fcdc86
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
# 页面标题 # 页面标题
VITE_APP_TITLE = RuoYi-Vue-Plus多租户管理系统 VITE_APP_TITLE = RuoYi-Vue-Plus多租户管理系统
VITE_LOGO_TITLE = RuoYi-Vue-Plus VITE_APP_LOGO_TITLE = RuoYi-Vue-Plus
# 开发环境配置 # 开发环境配置
VITE_APP_ENV = 'development' VITE_APP_ENV = 'development'

View File

@ -1,6 +1,6 @@
# 页面标题 # 页面标题
VITE_APP_TITLE = RuoYi-Vue-Plus多租户管理系统 VITE_APP_TITLE = RuoYi-Vue-Plus多租户管理系统
VITE_LOGO_TITLE = RuoYi-Vue-Plus VITE_APP_LOGO_TITLE = RuoYi-Vue-Plus
# 生产环境配置 # 生产环境配置
VITE_APP_ENV = 'production' VITE_APP_ENV = 'production'

View File

@ -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 settingsStore = useSettingsStore();
const sideTheme = computed(() => settingsStore.sideTheme); const sideTheme = computed(() => settingsStore.sideTheme);
</script> </script>