From bfdfceb60b41a541d9d9087323079bc64c144209 Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期四, 29 五月 2025 13:18:18 +0800
Subject: [PATCH] 客户/供应商修改
---
src/layout/components/Sidebar/Logo.vue | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue
index 751b56e..90146ae 100644
--- a/src/layout/components/Sidebar/Logo.vue
+++ b/src/layout/components/Sidebar/Logo.vue
@@ -25,25 +25,25 @@
}
})
-const title = import.meta.env.VITE_APP_TITLE;
-const settingsStore = useSettingsStore();
-const sideTheme = computed(() => settingsStore.sideTheme);
+const title = import.meta.env.VITE_APP_TITLE
+const settingsStore = useSettingsStore()
+const sideTheme = computed(() => settingsStore.sideTheme)
// 鑾峰彇Logo鑳屾櫙鑹�
const getLogoBackground = computed(() => {
if (settingsStore.isDark) {
- return 'var(--sidebar-bg)';
+ return 'var(--sidebar-bg)'
}
- return sideTheme.value === 'theme-dark' ? variables.menuBg : variables.menuLightBg;
-});
+ return sideTheme.value === 'theme-dark' ? variables.menuBg : variables.menuLightBg
+})
// 鑾峰彇Logo鏂囧瓧棰滆壊
const getLogoTextColor = computed(() => {
if (settingsStore.isDark) {
- return 'var(--sidebar-text)';
+ return 'var(--sidebar-text)'
}
- return sideTheme.value === 'theme-dark' ? '#fff' : variables.menuLightText;
-});
+ return sideTheme.value === 'theme-dark' ? '#fff' : variables.menuLightText
+})
</script>
<style lang="scss" scoped>
--
Gitblit v1.9.3