提交 be9d4c2a 编写于 作者: 王鑫

示例代码中border属性单位值删除

Signed-off-by: N王鑫 <xinwangih@isoftstone.com>
上级 c834862c
...@@ -88,7 +88,7 @@ struct BorderExample { ...@@ -88,7 +88,7 @@ struct BorderExample {
.width(300) .width(300)
.height(300) .height(300)
.border({ .border({
width: { left: '5lpx', right: '10lpx', top: '20lpx', bottom: '30lpx' }, width: { left: 5, right: 10, top: 20, bottom: 30 },
color: { left: '#e3bbbb', right: Color.Blue, top: Color.Red, bottom: Color.Green }, color: { left: '#e3bbbb', right: Color.Blue, top: Color.Red, bottom: Color.Green },
radius: { topLeft: 10, topRight: 20, bottomLeft: 40, bottomRight: 80 }, radius: { topLeft: 10, topRight: 20, bottomLeft: 40, bottomRight: 80 },
style: { style: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册