* doc

* fix: i18n

* fix: scroll load
This commit is contained in:
Archer
2025-05-13 12:16:32 +08:00
committed by GitHub
parent 1edca309c4
commit d5f188a1a4
12 changed files with 15 additions and 13 deletions

View File

@@ -34,4 +34,5 @@ weight: 792
5. 重新训练权限问题。 5. 重新训练权限问题。
6. 文档链接地址。 6. 文档链接地址。
7. Claude 工具调用,由于 index 为空,导致工具调用失败。 7. Claude 工具调用,由于 index 为空,导致工具调用失败。
8. 嵌套工作流,工具调用下包含交互节点时,流程异常。

View File

@@ -351,6 +351,7 @@ export function useScrollPagination<
loadData(true); loadData(true);
}, },
{ {
manual: false,
...props ...props
} }
); );

View File

@@ -1,7 +1,7 @@
{ {
"Action": "Action", "Action": "Action",
"Add": "Add", "Add": "Add",
"Add Success": "Added Successfully", "add_success": "Added Successfully",
"Add_new_input": "Add new input", "Add_new_input": "Add new input",
"All": "All", "All": "All",
"App": "Application", "App": "Application",
@@ -64,7 +64,7 @@
"Parse": "Analysis", "Parse": "Analysis",
"Permission": "Permission", "Permission": "Permission",
"Permission_tip": "Individual permissions are greater than group permissions", "Permission_tip": "Individual permissions are greater than group permissions",
"Please Input Name": "Please Enter a Name", "please_input_name": "Please Enter a Name",
"Preview": "Preview", "Preview": "Preview",
"Remove": "Remove", "Remove": "Remove",
"Rename": "Rename", "Rename": "Rename",

View File

@@ -1,7 +1,7 @@
{ {
"Action": "操作", "Action": "操作",
"Add": "添加", "Add": "添加",
"Add Success": "添加成功", "add_success": "添加成功",
"Add_new_input": "新增输入", "Add_new_input": "新增输入",
"All": "全部", "All": "全部",
"App": "应用", "App": "应用",
@@ -64,7 +64,7 @@
"Parse": "解析", "Parse": "解析",
"Permission": "权限", "Permission": "权限",
"Permission_tip": "个人权限大于群组权限", "Permission_tip": "个人权限大于群组权限",
"Please Input Name": "请输入名称", "please_input_name": "请输入名称",
"Preview": "预览", "Preview": "预览",
"Remove": "移除", "Remove": "移除",
"Rename": "重命名", "Rename": "重命名",

View File

@@ -1,7 +1,7 @@
{ {
"Action": "操作", "Action": "操作",
"Add": "新增", "Add": "新增",
"Add Success": "新增成功", "add_success": "新增成功",
"Add_new_input": "新增輸入", "Add_new_input": "新增輸入",
"All": "全部", "All": "全部",
"App": "應用程式", "App": "應用程式",
@@ -64,7 +64,7 @@
"Parse": "解析", "Parse": "解析",
"Permission": "權限", "Permission": "權限",
"Permission_tip": "個人權限大於群組權限", "Permission_tip": "個人權限大於群組權限",
"Please Input Name": "請輸入名稱", "please_input_name": "請輸入名稱",
"Preview": "預覽", "Preview": "預覽",
"Remove": "移除", "Remove": "移除",
"Rename": "重新命名", "Rename": "重新命名",

View File

@@ -234,7 +234,7 @@ const LexiconConfigModal = ({ appId, onClose }: { appId: string; onClose: () =>
} else { } else {
toast({ toast({
status: 'success', status: 'success',
title: t('common:Add Success') title: t('common:add_success')
}); });
} }
fetchData(1); fetchData(1);

View File

@@ -147,7 +147,7 @@ const VariableEdit = ({
onChange(onChangeVariable); onChange(onChangeVariable);
toast({ toast({
status: 'success', status: 'success',
title: t('common:Add Success') title: t('common:add_success')
}); });
reset({ reset({
...addVariable(), ...addVariable(),

View File

@@ -122,7 +122,7 @@ function MemberModal({
permission: addOnly ? undefined : selectedPermission! permission: addOnly ? undefined : selectedPermission!
} as UpdateClbPermissionProps<ValueOf<typeof addOnly>>), } as UpdateClbPermissionProps<ValueOf<typeof addOnly>>),
{ {
successToast: t('common:Add Success'), successToast: t('common:add_success'),
onSuccess() { onSuccess() {
onClose(); onClose();
} }

View File

@@ -120,7 +120,7 @@ function EditModal({
maxLength={100} maxLength={100}
placeholder={t('user:team.Team Name')} placeholder={t('user:team.Team Name')}
{...register('name', { {...register('name', {
required: t('common:Please Input Name') required: t('common:please_input_name')
})} })}
/> />
</Flex> </Flex>

View File

@@ -44,7 +44,7 @@ const DetailLogsModal = ({ appId, chatId, onClose }: Props) => {
const chatRecords = useContextSelector(ChatRecordContext, (v) => v.chatRecords); const chatRecords = useContextSelector(ChatRecordContext, (v) => v.chatRecords);
const totalRecordsCount = useContextSelector(ChatRecordContext, (v) => v.totalRecordsCount); const totalRecordsCount = useContextSelector(ChatRecordContext, (v) => v.totalRecordsCount);
const { data: chat, loading: isFetching } = useRequest2( const { data: chat } = useRequest2(
async () => { async () => {
const res = await getInitChatInfo({ appId, chatId, loadCustomFeedbacks: true }); const res = await getInitChatInfo({ appId, chatId, loadCustomFeedbacks: true });
res.userAvatar = HUMAN_ICON; res.userAvatar = HUMAN_ICON;

View File

@@ -100,7 +100,7 @@ const InputFormEditModal = ({
onSubmit(data); onSubmit(data);
toast({ toast({
status: 'success', status: 'success',
title: t('common:Add Success') title: t('common:add_success')
}); });
reset(defaultFormInput); reset(defaultFormInput);
} }

View File

@@ -219,7 +219,7 @@ const FieldEditModal = ({
onSubmit(data); onSubmit(data);
toast({ toast({
status: 'success', status: 'success',
title: t('common:Add Success') title: t('common:add_success')
}); });
reset(defaultInput); reset(defaultInput);
} }