mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
### What problem does this PR solve? fix: Change document status with @tanstack/react-query #13306 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) - [ ] New Feature (non-breaking change which adds functionality) - [ ] Documentation Update - [ ] Refactoring - [ ] Performance Improvement - [ ] Other (please describe):
This commit is contained in:
@ -61,8 +61,7 @@ export const useFetchFileList = (): ResponseType<any> & IListResult => {
|
||||
],
|
||||
initialData: {},
|
||||
gcTime: 0,
|
||||
queryFn: async (params: any) => {
|
||||
console.info(params);
|
||||
queryFn: async () => {
|
||||
const { data } = await fileManagerService.listFile({
|
||||
parent_id: id,
|
||||
keywords: searchString,
|
||||
|
||||
Reference in New Issue
Block a user