mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
perf: navbar
This commit is contained in:
@@ -118,9 +118,13 @@ const Navbar = ({ unread }: { unread: number }) => {
|
||||
}
|
||||
: {
|
||||
color: 'myGray.500',
|
||||
backgroundColor: 'transparent',
|
||||
onClick: () => router.push(item.link)
|
||||
backgroundColor: 'transparent'
|
||||
})}
|
||||
{...(item.link !== router.asPath
|
||||
? {
|
||||
onClick: () => router.push(item.link)
|
||||
}
|
||||
: {})}
|
||||
>
|
||||
<MyIcon
|
||||
name={
|
||||
|
Reference in New Issue
Block a user