update HeaderBar
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user