fix: 修复表格行minHeight撑满页面时,内容超出页面高度会导致卡死的问题
This commit is contained in:
@@ -1504,7 +1504,7 @@ export class Draw {
|
|||||||
>
|
>
|
||||||
// 判断目标行是否可截断
|
// 判断目标行是否可截断
|
||||||
const allowSplitTr =
|
const allowSplitTr =
|
||||||
splitTrPreHeight > trList[splitTrIndex].minHeight! * scale && // 最小行高区间内不可截断
|
splitTrPreHeight >= trList[splitTrIndex].minHeight! * scale && // 最小行高区间内不可截断
|
||||||
trList[splitTrIndex].tdList.every(
|
trList[splitTrIndex].tdList.every(
|
||||||
// 如果截断线穿过该行所有单元格中第一个排版行,此时该行也不可截断
|
// 如果截断线穿过该行所有单元格中第一个排版行,此时该行也不可截断
|
||||||
td => td.rowList![0].height < splitTrPreHeight
|
td => td.rowList![0].height < splitTrPreHeight
|
||||||
|
|||||||
Reference in New Issue
Block a user