perf: tip
This commit is contained in:
parent
2128d306ad
commit
2b888fb0fa
@ -844,7 +844,6 @@
|
|||||||
"folder.open_dataset": "Open Dataset",
|
"folder.open_dataset": "Open Dataset",
|
||||||
"folder_description": "Folder Description",
|
"folder_description": "Folder Description",
|
||||||
"free": "Free",
|
"free": "Free",
|
||||||
"gate.copyright": "The content is generated by third-party AI and is for reference only. The authenticity, accuracy and legality of the information are the responsibility of the provider.",
|
|
||||||
"gate.placeholder": "You can ask me any questions",
|
"gate.placeholder": "You can ask me any questions",
|
||||||
"get_QR_failed": "Failed to Get QR Code",
|
"get_QR_failed": "Failed to Get QR Code",
|
||||||
"get_app_failed": "Failed to Retrieve App",
|
"get_app_failed": "Failed to Retrieve App",
|
||||||
|
|||||||
@ -844,7 +844,6 @@
|
|||||||
"folder.open_dataset": "打开知识库",
|
"folder.open_dataset": "打开知识库",
|
||||||
"folder_description": "文件夹描述",
|
"folder_description": "文件夹描述",
|
||||||
"free": "免费",
|
"free": "免费",
|
||||||
"gate.copyright": "内容由第三方 AI 生成,仅供参考,信息真实性、准确性、合法性由提供者负责",
|
|
||||||
"gate.placeholder": "你可以问我任何问题",
|
"gate.placeholder": "你可以问我任何问题",
|
||||||
"get_QR_failed": "获取二维码失败",
|
"get_QR_failed": "获取二维码失败",
|
||||||
"get_app_failed": "获取应用失败",
|
"get_app_failed": "获取应用失败",
|
||||||
|
|||||||
@ -842,7 +842,6 @@
|
|||||||
"folder.open_dataset": "開啟知識庫",
|
"folder.open_dataset": "開啟知識庫",
|
||||||
"folder_description": "資料夾描述",
|
"folder_description": "資料夾描述",
|
||||||
"free": "免費",
|
"free": "免費",
|
||||||
"gate.copyright": "內容由第三方 AI 生成,僅供參考,信息真實性、準確性、合法性由提供者負責",
|
|
||||||
"gate.placeholder": "你可以問我任何問題",
|
"gate.placeholder": "你可以問我任何問題",
|
||||||
"get_QR_failed": "取得 QR Code 失敗",
|
"get_QR_failed": "取得 QR Code 失敗",
|
||||||
"get_app_failed": "取得應用程式失敗",
|
"get_app_failed": "取得應用程式失敗",
|
||||||
|
|||||||
@ -410,7 +410,7 @@ const GateChatInput = ({
|
|||||||
</Flex>
|
</Flex>
|
||||||
|
|
||||||
<File onSelect={(files) => onSelectFile({ files })} />
|
<File onSelect={(files) => onSelectFile({ files })} />
|
||||||
<ComplianceTip type={'chat'} />
|
{/* <ComplianceTip type={'chat'} /> */}
|
||||||
|
|
||||||
{/* voice input and loading container */}
|
{/* voice input and loading container */}
|
||||||
{!inputValue && (
|
{!inputValue && (
|
||||||
|
|||||||
@ -77,6 +77,7 @@ import type { GateSchemaType } from '@fastgpt/global/support/user/team/gate/type
|
|||||||
import type { FlowNodeTemplateType } from '@fastgpt/global/core/workflow/type/node';
|
import type { FlowNodeTemplateType } from '@fastgpt/global/core/workflow/type/node';
|
||||||
import type { AppListItemType } from '@fastgpt/global/core/app/type';
|
import type { AppListItemType } from '@fastgpt/global/core/app/type';
|
||||||
import Avatar from '@fastgpt/web/components/common/Avatar';
|
import Avatar from '@fastgpt/web/components/common/Avatar';
|
||||||
|
import ComplianceTip from '@/components/common/ComplianceTip/index';
|
||||||
|
|
||||||
const FeedbackModal = dynamic(() => import('./components/FeedbackModal'));
|
const FeedbackModal = dynamic(() => import('./components/FeedbackModal'));
|
||||||
const ReadFeedbackModal = dynamic(() => import('./components/ReadFeedbackModal'));
|
const ReadFeedbackModal = dynamic(() => import('./components/ReadFeedbackModal'));
|
||||||
@ -1210,18 +1211,7 @@ const ChatBox = ({
|
|||||||
{/* 移动端下的版权信息容器 */}
|
{/* 移动端下的版权信息容器 */}
|
||||||
<Box w="100%" mt="auto">
|
<Box w="100%" mt="auto">
|
||||||
{/* 在inGateRoute状态下显示底部语句 */}
|
{/* 在inGateRoute状态下显示底部语句 */}
|
||||||
{inGateRoute && (
|
{inGateRoute && <ComplianceTip type={'chat'} />}
|
||||||
<Flex
|
|
||||||
justify="center"
|
|
||||||
w="100%"
|
|
||||||
py={3}
|
|
||||||
px={4}
|
|
||||||
fontSize={{ base: '2xs', sm: 'xs' }}
|
|
||||||
color="gray.500"
|
|
||||||
>
|
|
||||||
<Text textAlign="center">{t('common:gate.copyright')}</Text>
|
|
||||||
</Flex>
|
|
||||||
)}
|
|
||||||
</Box>
|
</Box>
|
||||||
</Flex>
|
</Flex>
|
||||||
) : (
|
) : (
|
||||||
@ -1266,18 +1256,7 @@ const ChatBox = ({
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{/* 在inGateRoute状态下显示底部语句 */}
|
{/* 在inGateRoute状态下显示底部语句 */}
|
||||||
{inGateRoute && (
|
{/* {inGateRoute && <ComplianceTip type={'chat'} />} */}
|
||||||
<Flex
|
|
||||||
justify="center"
|
|
||||||
w="100%"
|
|
||||||
py={3}
|
|
||||||
px={4}
|
|
||||||
fontSize={{ base: '2xs', sm: 'xs' }}
|
|
||||||
color="gray.500"
|
|
||||||
>
|
|
||||||
<Text textAlign="center">{t('common:gate.copyright')}</Text>
|
|
||||||
</Flex>
|
|
||||||
)}
|
|
||||||
</Flex>
|
</Flex>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user