瀏覽代碼

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

RuoYi 2 年之前
父節點
當前提交
fab5c92d26
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>