mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-05-04 01:07:48 +08:00
Fix: error in retrieval testing page (#13225)
### What problem does this PR solve? Fix: error in retrieval testing page ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -101,11 +101,11 @@ export const useTestRetrieval = () => {
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
if (mountedRef.current) {
|
||||
if (mountedRef.current && !!queryParams.question) {
|
||||
refetch();
|
||||
}
|
||||
mountedRef.current = true;
|
||||
}, [page, pageSize, refetch, filterValue]);
|
||||
}, [page, pageSize, refetch, filterValue, queryParams]);
|
||||
|
||||
return {
|
||||
data,
|
||||
|
||||
Reference in New Issue
Block a user