feat:增加行居中

This commit is contained in:
黄云飞
2021-11-19 13:47:22 +08:00
parent e614cc5b56
commit 0cda40df6a
3 changed files with 23 additions and 3 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ export class Draw {
height: 0,
ascent: 0,
elementList: [],
rowFlex: this.elementList[0].rowFlex
rowFlex: this.elementList?.[1].rowFlex
})
}
for (let i = 0; i < this.elementList.length; i++) {