We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
// 分页 const pagination = ref({ page: 1, pageSize: 10, pageSizes: [10, 20, 30, 40, 50], itemCount: 0, showSizePicker: true, onChange: (page: number) => { console.log('翻页'); pagination.value.page = page; }, onUpdatePageSize: (pageSize: number) => { pagination.value.pageSize = pageSize; pagination.value.page = 1; }, });
function filterList() { pagination.value.page = 1; getList(); }
The text was updated successfully, but these errors were encountered:
就是在page不为1的页数时,手动设置页码为1,或者itemCount总条数时,不能生效
Sorry, something went wrong.
No branches or pull requests
// 分页
const pagination = ref({
page: 1,
pageSize: 10,
pageSizes: [10, 20, 30, 40, 50],
itemCount: 0,
showSizePicker: true,
onChange: (page: number) => {
console.log('翻页');
pagination.value.page = page;
},
onUpdatePageSize: (pageSize: number) => {
pagination.value.pageSize = pageSize;
pagination.value.page = 1;
},
});
function filterList() {
pagination.value.page = 1;
getList();
}
The text was updated successfully, but these errors were encountered: