react中基于ant-Design二次封装分页组件

1、组件中使用 import Pagination from '@components/pagination'; this.state = { total: 50, //总页数 current:1, pageSize:10, } //初始化时自调用一次,用于请求借口数据 componentDidMount() { this.onChangeCurPageOrPage
相关文章
相关标签/搜索