提交 a865f24f 编写于 作者: X xiexiyun

修复relative container用例编译问题

Signed-off-by: Nxiexiyun <xiexiyun@huawei.com>
上级 8c512bd4
...@@ -37,10 +37,6 @@ RelativeContainer() ...@@ -37,10 +37,6 @@ RelativeContainer()
@Entry @Entry
@Component @Component
struct Index { struct Index {
build() {
@Entry
@Component
struct Index {
build() { build() {
Row() { Row() {
...@@ -96,8 +92,7 @@ struct Index { ...@@ -96,8 +92,7 @@ struct Index {
} }
.height('100%') .height('100%')
} }
}
}
} }
``` ```
![relative container](figures/relativecontainer.png) ![relative container](figures/relativecontainer.png)
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册