update tree table

This commit is contained in:
梁灏 2020-01-12 10:45:08 +08:00
parent 439dd093c4
commit ddd30f3ce3

View file

@ -859,7 +859,7 @@
break; break;
} else if (thisData.children && thisData.children.length) { } else if (thisData.children && thisData.children.length) {
data = this.getChildrenDataByRowKey(rowKey, thisData); data = this.getChildrenDataByRowKey(rowKey, thisData);
return data; if (data && data[this.rowKey] === rowKey) return data;
} }
} }
return data; return data;