Przeglądaj źródła

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

RuoYi 1 rok temu
rodzic
commit
fab5c92d26
1 zmienionych plików z 1 dodań i 1 usunięć
  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>