mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-03 13:38:00 +00:00
perf: config fe
This commit is contained in:
@@ -3,6 +3,7 @@ import { Box, Flex } from '@chakra-ui/react';
|
||||
import { ChevronRightIcon } from '@chakra-ui/icons';
|
||||
import MyIcon from '@/components/Icon';
|
||||
import { useRouter } from 'next/router';
|
||||
import { feConfigs } from '@/store/static';
|
||||
|
||||
const list = [
|
||||
{
|
||||
@@ -10,16 +11,24 @@ const list = [
|
||||
label: '我的知识库',
|
||||
link: '/kb/list'
|
||||
},
|
||||
{
|
||||
icon: 'appStoreLight',
|
||||
label: 'AI应用市场',
|
||||
link: '/appStore'
|
||||
},
|
||||
{
|
||||
icon: 'git',
|
||||
label: 'Git项目地址',
|
||||
link: 'https://github.com/labring/FastGPT'
|
||||
}
|
||||
...(feConfigs.show_appStore
|
||||
? [
|
||||
{
|
||||
icon: 'appStoreLight',
|
||||
label: 'AI应用市场',
|
||||
link: '/appStore'
|
||||
}
|
||||
]
|
||||
: []),
|
||||
...(feConfigs.show_git
|
||||
? [
|
||||
{
|
||||
icon: 'git',
|
||||
label: 'Git项目地址',
|
||||
link: 'https://github.com/labring/FastGPT'
|
||||
}
|
||||
]
|
||||
: [])
|
||||
];
|
||||
|
||||
const Tools = () => {
|
||||
|
Reference in New Issue
Block a user