mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
20 lines
266 B
Markdown
20 lines
266 B
Markdown
|
# 更多
|
||
|
|
||
|
- order: 1
|
||
|
|
||
|
更多分页
|
||
|
|
||
|
---
|
||
|
|
||
|
````jsx
|
||
|
var Pagination = antd.Pagination;
|
||
|
|
||
|
function onChange(page) {
|
||
|
console.log(page);
|
||
|
}
|
||
|
|
||
|
React.render(
|
||
|
<Pagination onChange={onChange} total={500} />,
|
||
|
document.getElementById('components-pagination-demo-more'));
|
||
|
````
|