Skip to content

Commit

Permalink
fix(pagination): select autoWidth
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Mar 31, 2022
1 parent d2e6502 commit b6ba28b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pagination/Pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ const Pagination: React.FC<PaginationProps> = (props: PaginationProps) => {
{/* 极简版 */}
{theme === 'simple' && (
<div className={`${name}__select`}>
<Select size={size} value={current} disabled={disabled} onChange={onSimpleCurrentChange}>
<Select autoWidth={true} size={size} value={current} disabled={disabled} onChange={onSimpleCurrentChange}>
{Array(pageCount)
.fill(0)
.map((_, i) => i + 1)
Expand Down

0 comments on commit b6ba28b

Please sign in to comment.