Vue pagination loading

vue drop-down load data, each time you trigger a drop-down load, load ten pieces of data on a page. Has anyone ever written such a thing?

Mar.18,2021

this is a very simple and common requirement. Your method is defined in your pageSize, pageIndex,methods in data. Registering a downstairs instruction is an instruction to monitor the drop-down action to execute loading data. If you do not load pageIndex plus 1 once, ok, if the instruction can not write and read the document, or can't write, go to npm to find ready-made

.
Menu