From 5f87ea02507254bcf16634ee08d43027c5ae499f Mon Sep 17 00:00:00 2001 From: wanghaoo Date: Tue, 20 Nov 2018 10:59:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=A4=9A=E9=80=89=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E4=B8=8D=E5=AE=8C=E5=96=84):?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/lib/multiSelect.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",