build
This commit is contained in:
parent
18a268f4b8
commit
6507b08ce6
|
@ -1407,7 +1407,8 @@ var Table = function (_Component) {
|
|||
}
|
||||
});
|
||||
var fixedColumnsExpandedRowsHeight = {};
|
||||
expandedRows.length > 0 && expandedRows.forEach(function (row) {
|
||||
//expandedRows为NodeList Array.prototype.forEach ie 下报错 对象不支持 “forEach” 方法
|
||||
expandedRows.length > 0 && Array.prototype.forEach.call(expandedRows, function (row) {
|
||||
var parentRowKey = row && row.previousSibling && row.previousSibling.getAttribute("data-row-key"),
|
||||
height = row && row.getBoundingClientRect().height || 'auto';
|
||||
fixedColumnsExpandedRowsHeight[parentRowKey] = height;
|
||||
|
|
Loading…
Reference in New Issue