fix tree table level

This commit is contained in:
梁灏 2020-01-12 09:28:49 +08:00
parent 85a1bc8af0
commit 64298a9b0e
3 changed files with 21 additions and 9 deletions

View file

@ -816,6 +816,7 @@
break;
} else if (thisData.children && thisData.children.length) {
data = this.getChildrenByRowKey(rowKey, thisData);
if (data && data._rowKey === rowKey) return data;
}
}
return data;
@ -844,6 +845,7 @@
break;
} else if (thisData.children && thisData.children.length) {
data = this.getChildrenDataByRowKey(rowKey, thisData);
return data;
}
}
return data;