diff --git a/build/lib/multiSelect.js b/build/lib/multiSelect.js index 22ce394..af369ce 100644 --- a/build/lib/multiSelect.js +++ b/build/lib/multiSelect.js @@ -58,7 +58,7 @@ function multiSelect(Table, Checkbox) { NewMultiSelect.prototype.componentWillReceiveProps = function componentWillReceiveProps(nextProps) { if (this.props.data != nextProps.data) { - var obj = this.getCheckedOrIndeter(props.data); + var obj = this.getCheckedOrIndeter(nextProps.data); this.setState(_extends({}, obj, { data: (0, _util.ObjectAssign)(nextProps.data) })); diff --git a/package.json b/package.json index fbb4a0f..07d4718 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bee-table", - "version": "1.5.4", + "version": "1.5.5", "description": "Table ui component for react", "keywords": [ "react",