Ver Fonte

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

RuoYi há 3 anos atrás
pai
commit
d366a5046d
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      src/components/Pagination/index.vue

+ 1 - 0
src/components/Pagination/index.vue

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