fix cell edit broken

This commit is contained in:
AllenFang
2018-10-09 00:18:17 +08:00
parent 1e76ca9bdb
commit 8499991c41
+3 -1
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);