From 24ed187edf064cb769797dc6a6862fea1a58fe94 Mon Sep 17 00:00:00 2001 From: lisushuang <345490675@qq.com> Date: Tue, 14 Jun 2022 17:01:36 +0800 Subject: [PATCH] =?UTF-8?q?fixed=EF=BC=9A=E6=9F=90=E4=BA=9B=E6=9E=81?= =?UTF-8?q?=E9=99=90=E6=83=85=E5=86=B5=E4=B8=8B=E5=90=88=E5=B9=B6=E5=8D=95?= =?UTF-8?q?=E5=85=83=E6=A0=BC=E7=9A=84=E5=88=97=E5=AE=BD=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/global/getRowlen.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global/getRowlen.js b/src/global/getRowlen.js index 954ef9c..985b08c 100644 --- a/src/global/getRowlen.js +++ b/src/global/getRowlen.js @@ -148,7 +148,7 @@ function computeRowlenByContent(d, r) { function computeCellWidth(cell, 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); }