Fix: ToolsFramework - clicking the store button for the first time cannot jump after logging in bug

This commit is contained in:
2024-03-05 10:40:14 +08:00
parent 2d059a48d9
commit c48480146f

View File

@@ -11,10 +11,15 @@ const ToolsFramework = () => {
<div className={'left-panel'}> <div className={'left-panel'}>
<Sidebar title={'氧工具'}> <Sidebar title={'氧工具'}>
<Sidebar.ItemList> <Sidebar.ItemList>
<Sidebar.Item end path={''} icon={tools[0].icon} text={tools[0].name} />
<Sidebar.Item <Sidebar.Item
end end
path={'store'} path={'/'}
icon={tools[0].icon}
text={tools[0].name}
/>
<Sidebar.Item
end
path={'/store'}
icon={tools[1].icon} icon={tools[1].icon}
text={tools[1].name} text={tools[1].name}
/> />