From cc41c6680e4230f9e3f7c8bc3552841c577d812d Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: Mon, 21 Apr 2025 10:38:43 +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