浏览代码

分页bug

傅行帆 5 年前
父节点
当前提交
16e7208e85
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/pages/recommend/recommendCustomer/components/attribution.jsx

+ 1
- 1
src/pages/recommend/recommendCustomer/components/attribution.jsx 查看文件

141
             // onOk={() => this.handleOk()}
141
             // onOk={() => this.handleOk()}
142
             onCancel={(e) => this.handleCancel(e)}
142
             onCancel={(e) => this.handleCancel(e)}
143
           >
143
           >
144
-            <Table rowKey="attribution" dataSource={this.state.dataSource.records} columns={columns} pagination={{ total: this.state.dataSource.total, onChange: e => this.onChange(e) }} />
144
+            <Table rowKey="attribution" dataSource={this.state.dataSource.records} columns={columns} pagination={{ pageSize: 5,total: this.state.dataSource.total, onChange: e => this.onChange(e) }} />
145
           </Modal>
145
           </Modal>
146
       </>
146
       </>
147
     );
147
     );