update HeaderBar

This commit is contained in:
GuoRuqiang
2024-09-18 10:29:25 +00:00
parent 052bc2075b
commit 016e071d50
2 changed files with 34 additions and 9 deletions

View File

@@ -86,15 +86,16 @@ const SiderBar = () => {
icon: <IconLayers />,
className: isAdmin() ? 'semi-navigation-item-normal' : 'tableHiddle',
},
{
text: '聊天',
itemKey: 'chat',
to: '/chat',
icon: <IconComment />,
className: localStorage.getItem('chat_link')
? 'semi-navigation-item-normal'
: 'tableHiddle',
},
// 去掉侧边栏的聊天换到HeaderBar
// {
// text: '聊天',
// itemKey: 'chat',
// to: '/chat',
// icon: <IconComment />,
// className: localStorage.getItem('chat_link')
// ? 'semi-navigation-item-normal'
// : 'tableHiddle',
// },
{
text: '令牌',
itemKey: 'token',