mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-17 08:37:59 +00:00
perf: remove loading ui
This commit is contained in:
@@ -46,5 +46,9 @@ curl --location --request POST 'https://{{host}}/api/admin/initv494' \
|
|||||||
3. BullMQ 消息队列。
|
3. BullMQ 消息队列。
|
||||||
4. 站点同步支持配置训练参数。
|
4. 站点同步支持配置训练参数。
|
||||||
|
|
||||||
|
## ⚙️ 优化
|
||||||
|
|
||||||
|
1. Admin 模板渲染调整。
|
||||||
|
|
||||||
## 🐛 修复
|
## 🐛 修复
|
||||||
|
|
||||||
|
@@ -84,7 +84,6 @@ const ChatHistorySlider = ({ confirmClearText }: { confirmClearText: string }) =
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<MyBox
|
<MyBox
|
||||||
isLoading={isLoading}
|
|
||||||
display={'flex'}
|
display={'flex'}
|
||||||
flexDirection={'column'}
|
flexDirection={'column'}
|
||||||
w={'100%'}
|
w={'100%'}
|
||||||
|
@@ -174,13 +174,7 @@ const Chat = ({ myApps }: { myApps: AppListItemType[] }) => {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{(!quoteData || isPc) && (
|
{(!quoteData || isPc) && (
|
||||||
<PageContainer
|
<PageContainer flex={'1 0 0'} w={0} p={[0, '16px']} position={'relative'}>
|
||||||
isLoading={loading}
|
|
||||||
flex={'1 0 0'}
|
|
||||||
w={0}
|
|
||||||
p={[0, '16px']}
|
|
||||||
position={'relative'}
|
|
||||||
>
|
|
||||||
<Flex h={'100%'} flexDirection={['column', 'row']}>
|
<Flex h={'100%'} flexDirection={['column', 'row']}>
|
||||||
{/* pc always show history. */}
|
{/* pc always show history. */}
|
||||||
{RenderHistorySlider}
|
{RenderHistorySlider}
|
||||||
|
@@ -251,7 +251,7 @@ const OutLink = (props: Props) => {
|
|||||||
{...(isEmbed ? { p: '0 !important', borderRadius: '0', boxShadow: 'none' } : { p: [0, 5] })}
|
{...(isEmbed ? { p: '0 !important', borderRadius: '0', boxShadow: 'none' } : { p: [0, 5] })}
|
||||||
>
|
>
|
||||||
{(!quoteData || isPc) && (
|
{(!quoteData || isPc) && (
|
||||||
<PageContainer flex={'1 0 0'} w={0} isLoading={loading} p={'0 !important'}>
|
<PageContainer flex={'1 0 0'} w={0} p={'0 !important'}>
|
||||||
<Flex h={'100%'} flexDirection={['column', 'row']}>
|
<Flex h={'100%'} flexDirection={['column', 'row']}>
|
||||||
{RenderHistoryList}
|
{RenderHistoryList}
|
||||||
|
|
||||||
|
@@ -192,13 +192,7 @@ const Chat = ({ myApps }: { myApps: AppListItemType[] }) => {
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{(!quoteData || isPc) && (
|
{(!quoteData || isPc) && (
|
||||||
<PageContainer
|
<PageContainer flex={'1 0 0'} w={0} p={[0, '16px']} position={'relative'}>
|
||||||
isLoading={loading}
|
|
||||||
flex={'1 0 0'}
|
|
||||||
w={0}
|
|
||||||
p={[0, '16px']}
|
|
||||||
position={'relative'}
|
|
||||||
>
|
|
||||||
<Flex h={'100%'} flexDirection={['column', 'row']} bg={'white'}>
|
<Flex h={'100%'} flexDirection={['column', 'row']} bg={'white'}>
|
||||||
{RenderHistoryList}
|
{RenderHistoryList}
|
||||||
{/* chat container */}
|
{/* chat container */}
|
||||||
|
Reference in New Issue
Block a user