|
@@ -35,7 +35,7 @@ class ModalAttribution extends React.Component {
|
35
|
35
|
componentDidUpdate(preProps, preState) {
|
36
|
36
|
console.log(this.props.visibleData)
|
37
|
37
|
if (this.props.visibleData.visible !== preState.visibleData.visible) {
|
38
|
|
- this.getList({ pageNumber: 1, pageSize: 5, customerId: this.props.visibleData.customerId ,buildingId: this.props.visibleData.buildingId})
|
|
38
|
+ this.getList({ pageNumber: 1, pageSize: 5,buildingId: this.props.visibleData.buildingId})
|
39
|
39
|
this.setState({ visibleData: this.props.visibleData });
|
40
|
40
|
}
|
41
|
41
|
}
|