소스 검색

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

RuoYi 3 년 전
부모
커밋
d366a5046d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)