去掉多余的嵌套
This commit is contained in:
parent
ec474c43d9
commit
c49f7d821f
@ -43,7 +43,6 @@ export struct TitleBar {
|
||||
}
|
||||
|
||||
build() {
|
||||
Row() {
|
||||
RelativeContainer() {
|
||||
if (this.leftMenuType != TitleBarMenuType.None) {
|
||||
Button() {
|
||||
@ -117,7 +116,6 @@ export struct TitleBar {
|
||||
}).id("right_menu")
|
||||
}
|
||||
}
|
||||
.width('100%').height('100%')
|
||||
}.height(this.barHeight)
|
||||
.width('100%').height('100%').height(this.barHeight)
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user