dingxin il y a 5 ans
Parent
révision
4e761afc53
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      src/pages/customer/customerlist/components/recommend.jsx

+ 2
- 2
src/pages/customer/customerlist/components/recommend.jsx Voir le fichier

@@ -135,8 +135,8 @@ class ModalRecommendRecord extends React.Component {
135 135
             // onOk={() => this.handleOk()}
136 136
             onCancel={(e) => this.handleCancel(e)}
137 137
           >
138
-            {console.log('this.state.dataSource', this.state.dataSource)}
139
-            <Table dataSource={this.state.dataSource.records} rowKey="integralrecord" columns={columns} pagination={{ total: this.state.dataSource.total, onChange: e => this.onChange(e) }} />
138
+            {console.log('this.state.dataSource11111111111', this.state.dataSource.total)}
139
+            <Table dataSource={this.state.dataSource.records} rowKey="integralrecord" columns={columns} pagination={{ total: this.state.dataSource.total, pageSize: this.state.dataSource.size, onChange: e => this.onChange(e) }} />
140 140
           </Modal>
141 141
       </>
142 142
     );