fix(hooks): The total number before assigning a value to the table is incorrect. (#687)
This commit is contained in:
parent
d7aebb7dfa
commit
56760245d4
@ -119,6 +119,7 @@ export function useTable<A extends NaiveUI.TableApiFn>(config: NaiveUI.NaiveTabl
|
||||
page: 1,
|
||||
pageSize: 10,
|
||||
showSizePicker: true,
|
||||
itemCount: 0,
|
||||
pageSizes: [10, 15, 20, 25, 30],
|
||||
onUpdatePage: async (page: number) => {
|
||||
pagination.page = page;
|
||||
|
Loading…
Reference in New Issue
Block a user