Skip to content

Commit

Permalink
fix(comp:pagination): sizeChanger should be supported for simple mode (
Browse files Browse the repository at this point in the history
  • Loading branch information
sallerli1 committed Aug 28, 2023
1 parent 485e9ae commit 23178ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/components/pagination/src/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ export default defineComponent({
</li>,
)
children.push(<Item disabled={_activeIndex === _lastIndex} type="next" />)
showSizeChanger.value && children.push(<Sizes />)
} else {
items.value.forEach(item => children.push(<Item key={item.type + '-' + item.index} {...item} />))
showSizeChanger.value && children.push(<Sizes />)
Expand Down

0 comments on commit 23178ed

Please sign in to comment.