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

This commit is contained in:
RuoYi 2021-12-17 12:08:17 +08:00
parent 02b0bd0ec6
commit d366a5046d

View File

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