From 861dd48b0ac07e7a6f625d227eb79e1a8e953384 Mon Sep 17 00:00:00 2001 From: yulei Date: Thu, 22 Aug 2024 10:09:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E8=A1=8CminHeight=E6=92=91=E6=BB=A1=E9=A1=B5=E9=9D=A2=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E5=86=85=E5=AE=B9=E8=B6=85=E5=87=BA=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E9=AB=98=E5=BA=A6=E4=BC=9A=E5=AF=BC=E8=87=B4=E5=8D=A1=E6=AD=BB?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/editor/core/draw/Draw.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/core/draw/Draw.ts b/src/editor/core/draw/Draw.ts index b004543..f60b70a 100644 --- a/src/editor/core/draw/Draw.ts +++ b/src/editor/core/draw/Draw.ts @@ -1504,7 +1504,7 @@ export class Draw { > // 判断目标行是否可截断 const allowSplitTr = - splitTrPreHeight > trList[splitTrIndex].minHeight! * scale && // 最小行高区间内不可截断 + splitTrPreHeight >= trList[splitTrIndex].minHeight! * scale && // 最小行高区间内不可截断 trList[splitTrIndex].tdList.every( // 如果截断线穿过该行所有单元格中第一个排版行,此时该行也不可截断 td => td.rowList![0].height < splitTrPreHeight