diff --git a/src/App.tsx b/src/App.tsx index 10ef6c5..527ad04 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,22 +1,20 @@ import type { MenuTheme } from 'antd'; import type { FC } from 'react'; -import { AlertFilled, AreaChartOutlined, HomeFilled, VideoCameraFilled } from '@ant-design/icons'; -import { Button, Layout, Menu, theme, Typography } from 'antd'; +import { AlertFilled, AreaChartOutlined, FileTextFilled, HomeFilled, VideoCameraFilled } from '@ant-design/icons'; +import { Layout, Menu, theme } from 'antd'; import { useState } from 'react'; const { Content, Footer, Header, Sider } = Layout; -const { Title } = Typography; const App: FC = () => { const { token: { colorBgContainer } } = theme.useToken(); const [menuTheme] = useState('light'); - const [count, setCount] = useState(0); return (
- 网络设备管理平台 +

网络设备管理平台

@@ -44,23 +42,23 @@ const App: FC = () => { theme: menuTheme, }, { + label: '设备性能统计', key: 'statistics', // analysis icon: , theme: menuTheme, }, + { + label: '系统日志记录', + key: 'log', + icon: , + theme: menuTheme, + } ]} > - - {/* 内容区域 */} - -
Content
-
Content
-
Content
-
Content
-
Content
-
Bottom
+ {/* 内容区域 */} +