fix:首字高度默认值

This commit is contained in:
黄云飞
2021-11-22 16:46:08 +08:00
parent 99f8589033
commit 54c44a0443
+1 -1
View File
@@ -223,7 +223,7 @@ export class Draw {
if (curRow.width + metrics.width > innerWidth || (i !== 0 && element.value === ZERO)) {
rowList.push({
width: metrics.width,
height: this.options.defaultSize,
height,
elementList: [rowElement],
ascent,
rowFlex: rowElement.rowFlex