docs(migration): onChange will also trigger when pageSize value changed (#31270)

* doc(migration): onChange will also trigger when pageSize value changed

* fix(migration): onChange will also trigger when pageSize value changed
This commit is contained in:
TravisChen 2021-07-06 10:53:30 +08:00 committed by GitHub
parent a4d7d61b8c
commit 6b53552bad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -141,7 +141,9 @@ const Demo = () => (
- Table rewrite.
- will keep at least one column even if `columns` is empty.
- Nest `dataIndex` definition changes from `'xxx.yyy'` to `['xxx', 'yyy']`.
- Pagination will default set `showSizeChanger` to `true` since `4.1.0`. This change also applied on Table component.
- Pagination
- will default set `showSizeChanger` to `true` since `4.1.0`. This change also applied on Table component.
- `onChange` will also trigger when `pageSize` value changed.
- Tabs rewrite. ([4.3.0](https://github.com/ant-design/ant-design/pull/24552))
- Dom structrue is changed, please check style if you override tabs css.
- `onPrevClick``onNextClick` would be not working anymore since we improve tabs scroll behavior.

View File

@ -141,7 +141,9 @@ const Demo = () => (
- Table 重写
- 在没有 `columns` 时仍然会保留一列。
- 嵌套 `dataIndex` 支持从 `'xxx.yyy'` 改成 `['xxx', 'yyy']`
- Pagination 自 `4.1.0` 起大于 50 条数据默认会展示 `pageSize` 切换器,这条规则同样会运用于 Table 上。
- Pagination 重写
- 自 `4.1.0` 起大于 50 条数据默认会展示 `pageSize` 切换器,这条规则同样会运用于 Table 上。
- `onChange` 方法在 `pageSize` 值改变时也会触发。
- Tabs 重写([4.3.0](https://github.com/ant-design/ant-design/pull/24552)
- Dom 结构变化,如有覆盖样式需要仔细检查。
- 横向滚动交互变化,`onPrevClick` 和 `onNextClick` 不再工作。