From 02e3fbfc96e08c9285daaa5a6ec53716c747a671 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期五, 29 八月 2025 10:42:18 +0800
Subject: [PATCH] 1

---
 zy-acs-flow/src/layout/Logo.jsx |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/zy-acs-flow/src/layout/Logo.jsx b/zy-acs-flow/src/layout/Logo.jsx
index ac8a41f..f3efa10 100644
--- a/zy-acs-flow/src/layout/Logo.jsx
+++ b/zy-acs-flow/src/layout/Logo.jsx
@@ -48,17 +48,17 @@
             case DEFAULT_THEME_NAME:
                 return darkLogo();
             case 'soft':
-                return theme.palette.mode === 'dark' ? darkLogo() : lightLogo({ opacity: .7 });
+                return mode === 'dark' ? darkLogo() : lightLogo({ opacity: .7 });
             case 'default':
-                return theme.palette.mode === 'dark' ? darkLogo() : darkLogo();
+                return mode === 'dark' ? darkLogo() : darkLogo();
             case 'nano':
-                return theme.palette.mode === 'dark' ? darkLogo() : lightLogo();
+                return mode === 'dark' ? darkLogo() : lightLogo();
             case 'radiant':
-                return theme.palette.mode === 'dark' ? darkLogo() : lightLogo();
+                return mode === 'dark' ? darkLogo() : lightLogo();
             case 'house':
-                return theme.palette.mode === 'dark' ? lightLogo() : darkLogo();
+                return mode === 'dark' ? lightLogo() : darkLogo();
             case 'chiptune':
-                return theme.palette.mode === 'dark' ? darkLogo() : lightLogo();
+                return mode === 'dark' ? darkLogo() : lightLogo();
             default:
                 return lightLogo();
         }
@@ -66,7 +66,6 @@
 
     return (
         <div style={{
-            // backgroundColor: 'red',
             display: 'flex',
             justifyContent: 'center',
             alignItems: 'center',

--
Gitblit v1.9.1