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

master
RuoYi 3 years ago
parent 02b0bd0ec6
commit d366a5046d
  1. 1
      src/components/Pagination/index.vue

@ -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)

Loading…
Cancel
Save