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