El-pagination current page problem

use el-pagination and el-table for true pagination

el-pagination attribute:
page-sizes: 10

if there are 12 pieces of data, el-pagination displays two pages. If I click on the second page, the second page shows two pieces of data

I now do the following: on the second page, select all the data (because it is true paging, so select 2 pieces of data), delete the operation, and return successfully. Get the data after the deletion is successful.

at this time, it was found that because a total of 10 pieces of data were returned, el-pagination changed from two pages to one page, from the second page before deletion to the first page now, but it did not seem to trigger @ current-change

.
Feb.20,2022

after deletion, the data that changes all to false, actual paging has changed, and the props of the paging component has also changed, so it becomes the first page directly.

Menu