diff --git a/index.html b/index.html
index 0c589ec..94d55dc 100644
--- a/index.html
+++ b/index.html
@@ -2,9 +2,9 @@
-
+
- Vite + React
+ 供应链管理系统
diff --git a/public/logo.ico b/public/logo.ico
new file mode 100644
index 0000000..4b896ae
Binary files /dev/null and b/public/logo.ico differ
diff --git a/public/vite.svg b/public/vite.svg
deleted file mode 100644
index e7b8dfb..0000000
--- a/public/vite.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/src/assets/img/logo.png b/src/assets/img/logo.png
new file mode 100644
index 0000000..a5bc2b2
Binary files /dev/null and b/src/assets/img/logo.png differ
diff --git a/src/layouts/Base.jsx b/src/layouts/Base.jsx
index d650ff0..d561985 100644
--- a/src/layouts/Base.jsx
+++ b/src/layouts/Base.jsx
@@ -4,6 +4,7 @@ import { useRoutes } from 'react-router-dom'
import routes from '@/router/index'
import { useRootStore } from '@/store'
import menuList from '@/mock/menu'
+import Logo from '@/assets/img/logo.png'
const { Header, Content, Footer, Sider } = Layout
@@ -22,6 +23,7 @@ function BaseLayout() {
>
setCollapsed(value)}
>
@@ -29,14 +31,27 @@ function BaseLayout() {
style={{
textAlign: 'center',
padding: '20px 0',
- color: '#fff',
+ color: '#1677ff',
fontSize: '18px',
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'center',
}}
>
- 供应链系统
+ {collapsed ? (
+
+ ) : (
+ <>
+
+ 供应链系统
+ >
+ )}