Browse Source

修改侧边栏的平台标题内容与process.env.VITE_APP_TITLE保持同步

RuoYi 1 year ago
parent
commit
fab5c92d26
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/layout/components/Sidebar/Logo.vue

+ 1 - 1
src/layout/components/Sidebar/Logo.vue

@@ -25,7 +25,7 @@ defineProps({
   }
 })
 
-const title = ref('若依管理系统');
+const title = import.meta.env.VITE_APP_TITLE;
 const settingsStore = useSettingsStore();
 const sideTheme = computed(() => settingsStore.sideTheme);
 </script>