In LoadMore mode, only Request Method is supported.

We will automatically help you manage the list data. The data structure returned by Service must contain {list: LR[]}. If not, you can specify another key name with listKey or convert it once with formatResult(). Then we can get the requested data list collection through the returned dataList variable, and then use loadMore() to trigger loading more.

In addition, we will pass in the first parameter of the Request Method {data: R, dataList: LR}. You can decide the parameters of the next request based on these parameters.

See more available configurations: LoadMore API


import { useLoadMore } 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