Explorar o código

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

RuoYi %!s(int64=2) %!d(string=hai) anos
pai
achega
fab5c92d26
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>