From e4b7845d0e3a67c01afc5a0c8a268fad898296fe Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期四, 17 四月 2025 14:04:03 +0800
Subject: [PATCH] 修改

---
 src/layout/components/Sidebar/Logo.vue |   24 ++++++++++--------------
 1 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue
index ebaaa8a..ef99be2 100644
--- a/src/layout/components/Sidebar/Logo.vue
+++ b/src/layout/components/Sidebar/Logo.vue
@@ -35,20 +35,16 @@
       firstPage.value = routers[0].path;
     }
 
-  console.log(routers,'firstPage.value')
-    console.log(firstPage.value,'firstPage.value')
-    if(Cookies.get('configInfo')){
-      const config = JSON.parse(Cookies.get('configInfo'))
-      if(config && config.logoPath != ''){
-        logoImg.value = import.meta.env.VITE_APP_BASE_API + "/" +  config.logoPath
-      }else {
-        logoImg.value = logo
-      }
-    }else {
+    // if(Cookies.get('configInfo')){
+    //   const config = JSON.parse(Cookies.get('configInfo'))
+    //   if(config && config.logoPath != ''){
+    //     logoImg.value = import.meta.env.VITE_APP_BASE_API + "/" +  config.logoPath
+    //   }else {
+    //     logoImg.value = logo
+    //   }
+    // }else {
       logoImg.value = logo
-    }
-
-
+    // }
 });
 const title = import.meta.env.VITE_APP_TITLE;
 const settingsStore = useSettingsStore();
@@ -72,7 +68,7 @@
   line-height: 50px;
   background: #2b2f3a;
   //text-align: center;
-  margin-left: 20%;
+  margin-left: 8%;
   overflow: hidden;
 
   & .sidebar-logo-link {

--
Gitblit v1.9.2