Skip to content

Commit

Permalink
chore(table): 修复onVisibleChange类型问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zyprepare committed Sep 9, 2024
1 parent 264b624 commit d80c2a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ui/table/src/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const TableContext = createContext<
onVisibleChange?: (
visibleList: any[],
fullList: any[],
virtualInfo: {
virtualInfo?: {
start: number
end: number
scrollTop: number
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/table/src/use-table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ export interface UseTableProps {
onVisibleChange?: (
visibleList: any[],
fullList: any[],
virtualInfo: {
virtualInfo?: {
start: number
end: number
scrollTop: number
Expand Down

0 comments on commit d80c2a8

Please sign in to comment.