瀏覽代碼

分页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,7 +141,7 @@ class ModalAttribution extends React.Component {
141 141
             // onOk={() => this.handleOk()}
142 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 145
           </Modal>
146 146
       </>
147 147
     );