mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-05 22:55:27 +00:00
v4.6.2-alpah (#511)
This commit is contained in:
@@ -28,7 +28,13 @@ const CreateFileModal = ({
|
||||
});
|
||||
|
||||
return (
|
||||
<MyModal title={t('file.Create File')} isOpen w={'600px'} top={'15vh'}>
|
||||
<MyModal
|
||||
title={t('file.Create File')}
|
||||
iconSrc="/imgs/modal/txt.svg"
|
||||
isOpen
|
||||
w={'600px'}
|
||||
top={'15vh'}
|
||||
>
|
||||
<ModalBody>
|
||||
<Box mb={1} fontSize={'sm'}>
|
||||
文件名
|
||||
|
@@ -71,6 +71,7 @@ const ImportData = ({
|
||||
|
||||
return (
|
||||
<MyModal
|
||||
iconSrc="/imgs/modal/import.svg"
|
||||
title={<Box {...TitleStyle}>{t('dataset.data.File import')}</Box>}
|
||||
isOpen
|
||||
isCentered
|
||||
@@ -79,7 +80,7 @@ const ImportData = ({
|
||||
h={'90vh'}
|
||||
>
|
||||
<ModalCloseButton onClick={onClose} />
|
||||
<Flex flexDirection={'column'} flex={'1 0 0'}>
|
||||
<Flex mt={2} flexDirection={'column'} flex={'1 0 0'}>
|
||||
<Box pb={[5, 7]} px={[4, 8]} borderBottom={theme.borders.base}>
|
||||
<MyRadio
|
||||
gridTemplateColumns={['repeat(1,1fr)', 'repeat(3,1fr)']}
|
||||
|
@@ -30,13 +30,14 @@ const UrlFetchModal = ({
|
||||
|
||||
return (
|
||||
<MyModal
|
||||
iconSrc="/imgs/modal/network.svg"
|
||||
title={
|
||||
<>
|
||||
<Box>
|
||||
<Box>{t('file.Fetch Url')}</Box>
|
||||
<Box fontWeight={'normal'} fontSize={'sm'} color={'myGray.500'} mt={1}>
|
||||
目前仅支持读取静态链接,请注意检查结果
|
||||
</Box>
|
||||
</>
|
||||
</Box>
|
||||
}
|
||||
top={'15vh'}
|
||||
isOpen
|
||||
|
Reference in New Issue
Block a user