Browse Source
Merge pull request #1054 from monkeyshuang/master
fixed:某些极限情况下合并单元格的列宽计算错误
master
mengshukeji
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/global/getRowlen.js
|
@ -148,7 +148,7 @@ function computeRowlenByContent(d, r) { |
|
|
|
|
|
|
|
|
function computeCellWidth(cell, col_index) { |
|
|
function computeCellWidth(cell, col_index) { |
|
|
let colLocationArr = colLocationByIndex(col_index); |
|
|
let colLocationArr = colLocationByIndex(col_index); |
|
|
if (cell.mc && cell.mc.c !== cell.mc.cs) { |
|
|
if (cell.mc && 1 !== cell.mc.cs) { |
|
|
colLocationArr = colSpanLocationByIndex(col_index, cell.mc.cs); |
|
|
colLocationArr = colSpanLocationByIndex(col_index, cell.mc.cs); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|