RuoYi
2023-11-10 46da1d5ed1398e458213a4646ff7e9e23382dc68
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)