fix: add worker button do not work

This commit is contained in:
jialin
2025-12-18 10:56:45 +08:00
parent e4bd753355
commit b524587a9a
10 changed files with 62 additions and 26 deletions
+1 -1
View File
@@ -117,7 +117,7 @@ export default function useTableFetch<T>(
try {
const query = _.omit(params || queryParams, ['page', 'perPage']);
chunkRequedtRef.current = setChunkRequest({
chunkRequedtRef.current = await setChunkRequest({
url: `${API}?${qs.stringify(_.pickBy(query, (val: any) => !!val))}`,
handler: updateHandler
});