RuoYi
2024-11-25 e986a4c537c561ef6b884679946dc1514c400cb1
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)