mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-16 06:03:42 +08:00
fix(ui): ts类型
This commit is contained in:
@@ -48,8 +48,8 @@ function useAsyncTable<T extends Record<string, unknown>>(
|
||||
page: paginationState.current,
|
||||
pageSize: paginationState.pageSize,
|
||||
});
|
||||
tableState.data = data?.items;
|
||||
paginationState.total = data.total;
|
||||
tableState.data = (data as any)?.items;
|
||||
paginationState.total = (data as any)?.total;
|
||||
} finally {
|
||||
tableState.loading = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user