修复分页选择条/页数不生效问题

This commit is contained in:
RuoYi 2021-12-17 12:08:17 +08:00
parent 02b0bd0ec6
commit d366a5046d
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ const pageSize = computed({
}
})
function handleSizeChange(val) {
pageSize.value = val
emit('pagination', { page: currentPage.value, limit: val })
if (props.autoScroll) {
scrollTo(0, 800)