Skip to content

table组件pagination配置项目不支持pagination组件的showSizeChange事件 #1588

@woterwang

Description

@woterwang
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.4.10

Environment

window7,chrome版本 78.0.3904.70(正式版本),"vue": "^2.5.22",

Reproduction link

https://github.com/vueComponent/ant-design-vue/blob/master/components/table/Table.jsx

Steps to reproduce

1.引用Table组件
2.设置默认分页条数为50,假如现有共有5页
3.切换页码到第2页以后(假如这里切到第3页)
4.切换Pagesize为50条以下

现状:分页仍然显示第3页

What is expected?

1.切换pagesize后可以回调到分页组件的 showSizeChange方法
2.或者当前页可以重置到第1页

What is actually happening?

切换pagesize后当前页码没有变化

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions