若依
2022-03-18 a5c8a36031c5839493731755e7f6aeced745e0b2
src/components/Pagination/index.vue
@@ -77,6 +77,9 @@
  }
})
function handleSizeChange(val) {
  if (currentPage.value * val > props.total) {
    currentPage.value = 1
  }
  emit('pagination', { page: currentPage.value, limit: val })
  if (props.autoScroll) {
    scrollTo(0, 800)