fix tree table level
This commit is contained in:
parent
85a1bc8af0
commit
64298a9b0e
3 changed files with 21 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue