We will automatically help you manage the paging information, such as current page number, number of entries per page, the total number of entries, etc. You only need to use the changeCurrent() and changePageSize() provided by us. Easily manage paged data.

Note: We will inject the parameters required for paging in the first position of the params array.

See more available configurations: Pagination API


import { usePagination } from 'vue-request';


You can also use it with ant-design-vue. Here we provide a demo, click to viewopen in new window

Last Updated: 9/2/2021, 4:22:22 PM
Contributors: John