From 72a462219d8e87b0529b5bbd6c7327235306b151 Mon Sep 17 00:00:00 2001 From: jonyshi Date: Mon, 19 Nov 2018 06:51:29 +0800 Subject: [PATCH] =?UTF-8?q?v=201.5.1=20bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/multiSelect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/multiSelect.js b/src/lib/multiSelect.js index ee07e4a..cd10ccd 100644 --- a/src/lib/multiSelect.js +++ b/src/lib/multiSelect.js @@ -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),