未验证 提交 ccd8a887 编写于 作者: L LiAn 提交者: Gitee

update zh-cn/application-dev/reference/arkui-ts/ts-basic-components-image.md.

Signed-off-by: LiAn <lian15@huawei.com> 
Signed-off-by: NLiAn <lian15@huawei.com>
上级 09e25b96
...@@ -320,7 +320,7 @@ struct ImageExample3 { ...@@ -320,7 +320,7 @@ struct ImageExample3 {
.onError(() => { .onError(() => {
console.log('load image fail') console.log('load image fail')
}) })
.overlay('\nwidth: ' + String(this.width) + ' height: ' + String(this.height), { .overlay('\nwidth: ' + String(this.widthValue) + ' height: ' + String(this.heightValue), {
align: Alignment.Bottom, align: Alignment.Bottom,
offset: { x: 0, y: 20 } offset: { x: 0, y: 20 }
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册