合并单元格lastShowIndex计算修改

This commit is contained in:
wanghaoo 2018-10-08 15:26:17 +08:00
parent 85eaca8550
commit 9b016901ae
3 changed files with 3 additions and 3 deletions

2
dist/demo.js vendored
View File

@ -51445,7 +51445,7 @@
};
ColumnManager.prototype.getColumnWidth = function getColumnWidth(contentWidth) {
var columns = this.groupedColumns();
var columns = this.leafColumns();
var res = { computeWidth: 0, lastShowIndex: 0 };
columns.forEach(function (col, index) {
//如果列显示

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -159,7 +159,7 @@ export default class ColumnManager {
this._cached = {};
}
getColumnWidth(contentWidth){
let columns = this.groupedColumns();
let columns = this.leafColumns();
let res={computeWidth:0,lastShowIndex:0};
columns.forEach((col,index)=>{
//如果列显示