v 1.5.1 bug修复
This commit is contained in:
parent
d77882f3b5
commit
72a462219d
|
@ -27,7 +27,7 @@ export default function multiSelect(Table, Checkbox) {
|
|||
|
||||
componentWillReceiveProps(nextProps){
|
||||
if(this.props.data != nextProps.data){
|
||||
let obj = this.getCheckedOrIndeter(props.data);
|
||||
let obj = this.getCheckedOrIndeter(nextProps.data);
|
||||
this.setState({
|
||||
...obj,
|
||||
data:ObjectAssign(nextProps.data),
|
||||
|
|
Loading…
Reference in New Issue