fix(多选代码不完善):

This commit is contained in:
wanghaoo 2018-11-20 10:59:24 +08:00
parent 956d8c7945
commit 5f87ea0250
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}));

View File

@ -1,6 +1,6 @@
{
"name": "bee-table",
"version": "1.5.4",
"version": "1.5.5",
"description": "Table ui component for react",
"keywords": [
"react",