Optimize sidebar

This commit is contained in:
2023-12-01 09:13:40 +08:00
parent e30a8c7b00
commit 85e7f121ef
2 changed files with 6 additions and 13 deletions

View File

@@ -12,18 +12,7 @@ const SystemFramework: React.FC = () => {
<>
<FitFullScreen className={'flex-horizontal'}>
<div className={'left-panel'}>
<Sidebar
title={'系统设置'}
bottomFixed={
<SidebarItemList>
<SidebarItem
path={'/user'}
icon={IconFatwebUser}
text={'个人中心'}
/>
</SidebarItemList>
}
>
<Sidebar title={'系统设置'}>
<SidebarItemList>
{getSystemRouteJson().map((value) => {
return value.menu ? (