未验证 提交 49dc36b7 编写于 作者: O openharmony_ci 提交者: Gitee

!18486 修改WaterFlow示例代码适配组件布局规则-release

Merge pull request !18486 from 李俊峰/cherry-pick-1684742785
...@@ -264,7 +264,7 @@ struct WaterflowDemo { ...@@ -264,7 +264,7 @@ struct WaterflowDemo {
.layoutWeight(1) .layoutWeight(1)
} }
} }
.width(this.itemWidthArray[item]) .width('100%')
.height(this.itemHeightArray[item]) .height(this.itemHeightArray[item])
.backgroundColor(this.colors[item % 5]) .backgroundColor(this.colors[item % 5])
}, item => item) }, item => item)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册