Feat: Modify the translation file of the workflow #9869 (#10430)

### What problem does this PR solve?
Feat: Modify the translation file of the workflow #9869


### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2025-10-09 13:55:36 +08:00
committed by GitHub
parent 7734ad7fcd
commit 2078d88c28
7 changed files with 53 additions and 19 deletions

View File

@ -144,7 +144,7 @@ export const useFetchNextKnowledgeListByPage = () => {
const onInputChange: React.ChangeEventHandler<HTMLInputElement> = useCallback(
(e) => {
// setPagination({ page: 1 }); // TODO: 这里导致重复请求
// setPagination({ page: 1 }); // TODO: This results in repeated requests
handleInputChange(e);
},
[handleInputChange],
@ -323,7 +323,7 @@ export const useRemoveKnowledgeGraph = () => {
if (data.code === 0) {
message.success(i18n.t(`message.deleted`));
queryClient.invalidateQueries({
queryKey: ['fetchKnowledgeGraph'],
queryKey: [KnowledgeApiAction.FetchKnowledgeGraph],
});
}
return data?.code;