fix: 特殊场景this.flatTreeData为空引起报错
This commit is contained in:
parent
b93e8a78ca
commit
6c260cd227
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -295,7 +295,7 @@ export default function bigData(Table) {
|
|||
if (this.cachedRowHeight[i] == undefined) {
|
||||
if (this.treeType) {
|
||||
// currentKey = this.keys[i];
|
||||
currentKey = this.flatTreeData[i].key;
|
||||
currentKey = this.flatTreeData[i] && this.flatTreeData[i].key;
|
||||
currentRowHeight = 0;
|
||||
if (
|
||||
this.flatTreeKeysMap.hasOwnProperty(currentKey)
|
||||
|
|
Loading…
Reference in New Issue