Pagination

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

Usage

import { usePagination } from 'vue-request';

Example

Last Updated: 7/1/2022, 8:28:34 AM
Contributors: John