fix cell edit broken

This commit is contained in:
AllenFang 2018-09-24 15:24:07 +08:00
parent 1e76ca9bdb
commit 8499991c41

View File

@ -14,7 +14,9 @@ class Row extends shouldUpdater(eventDelegater(Component)) {
}
shouldComponentUpdate(nextProps) {
this.shouldUpdateRowContent = this.shouldUpdatedByNormalProps(nextProps);
this.shouldUpdateRowContent = false;
this.shouldUpdateRowContent =
this.shouldUpdateByWhenEditing(nextProps) || this.shouldUpdatedByNormalProps(nextProps);
if (this.shouldUpdateRowContent) return true;
return this.shouldUpdatedBySelfProps(nextProps);