react中基於ant-Design二次封裝分頁組件

1、組件中使用 import Pagination from '@components/pagination'; this.state = { total: 50, //總頁數 current:1, pageSize:10, } //初始化時自調用一次,用於請求借口數據 componentDidMount() { this.onChangeCurPageOrPage
相關文章
相關標籤/搜索