<Table columns={columns} dataSource={this.state.recordsList} pagination={{current:this.state.current,//当前页数
pageSize:20,//每页加载数据数量
total:this.state.total,//总数量
onChange:(current)=>this.pageChange(current)}} />
//分页器
pageChange = (c)=>{
console.log(c)// 返回当前点击的页数
this.setState({
current:c
})
//调接口传参 知道加载第几页数据了
this.workPlane(this.state.workPlane,c)
}