You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
266 B
20 lines
266 B
10 years ago
|
# 基本
|
||
|
|
||
|
- order: 0
|
||
|
|
||
|
基础分页
|
||
|
|
||
|
---
|
||
|
|
||
|
````jsx
|
||
|
var Pagination = antd.Pagination;
|
||
|
|
||
|
function onChange(page) {
|
||
|
console.log(page);
|
||
|
}
|
||
|
|
||
|
React.render(
|
||
|
<Pagination onChange={onChange} total={50} />,
|
||
|
document.getElementById('components-pagination-demo-basic'));
|
||
|
````
|