zoukankan      html  css  js  c++  java
  • React Ant design table表单与pagination分页配置

    1.table表单配置如下

     <Table className="zeus__detail__table" columns={this.state.affiliatedTable}
                                                   pagination={{
                                                       pageSize: 10,
                                                       total: affiliatedTable.total,
                                                       onChange: this.affiliatedTableTableChangePage,}}
                                                   dataSource={affiliatedTable.rows}/>


    // 回调

    affiliatedTableTableChangePage = (page) => {
        let params = {
    currentPage: page,
    pageSize: 10
    }
    this.props.getaffiliatedTableTableList(params)
    }
  • 相关阅读:
    避免多次提交
    Django 10
    Django 08
    Django 07
    Django 06
    Django 05
    Django 04
    Django 03
    Django 02
    Django 01
  • 原文地址:https://www.cnblogs.com/feng3037/p/10502216.html
Copyright © 2011-2022 走看看