fix: 修复表格行minHeight撑满页面时,内容超出页面高度会导致卡死的问题

npr765
yulei 2 years ago
parent 35103ca69c
commit 861dd48b0a

@ -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

Loading…
Cancel
Save