mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
V4.9.5 feature (#4534)
* update doc * add response detail value * fix: filter params
This commit is contained in:
@@ -64,8 +64,6 @@ function OperationLogTable({ Tabs }: { Tabs: React.ReactNode }) {
|
||||
ScrollData: LogScrollData
|
||||
} = useScrollPagination(getOperationLogs, {
|
||||
pageSize: 20,
|
||||
throttleWait: 500,
|
||||
debounceWait: 200,
|
||||
refreshDeps: [searchParams],
|
||||
params: searchParams
|
||||
});
|
||||
@@ -92,10 +90,8 @@ function OperationLogTable({ Tabs }: { Tabs: React.ReactNode }) {
|
||||
|
||||
useEffect(() => {
|
||||
setSearchParams({
|
||||
...(isSelectAllTmb ? {} : { tmbIds: selectedTmbIds.length > 0 ? selectedTmbIds : undefined }),
|
||||
...(isSelectAllEvent
|
||||
? {}
|
||||
: { events: selectedEvents.length > 0 ? selectedEvents : undefined })
|
||||
...(isSelectAllTmb ? {} : { tmbIds: selectedTmbIds }),
|
||||
...(isSelectAllEvent ? {} : { events: selectedEvents })
|
||||
});
|
||||
}, [selectedTmbIds, selectedEvents, isSelectAllTmb, isSelectAllEvent]);
|
||||
|
||||
|
Reference in New Issue
Block a user