v 1.5.1 bug修复

This commit is contained in:
jonyshi 2018-11-19 06:51:29 +08:00
parent d77882f3b5
commit 72a462219d
1 changed files with 1 additions and 1 deletions

View File

@ -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),